Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coolamqp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
coolamqp
Commits
106af1a8
Commit
106af1a8
authored
4 months ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
docs fix
parent
0a5a76ec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#63903
passed with stages
in 2 minutes and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/basics.rst
+0
-44
0 additions, 44 deletions
docs/basics.rst
docs/index.rst
+2
-2
2 additions, 2 deletions
docs/index.rst
with
2 additions
and
46 deletions
docs/basics.rst
deleted
100644 → 0
+
0
−
44
View file @
0a5a76ec
Usage basics
============
First off, you need a Cluster object:
.. autoclass:: coolamqp.clustering.Cluster
:members:
You will need to initialize it with NodeDefinitions:
.. autoclass:: coolamqp.objects.NodeDefinition
You can send messages:
.. autoclass:: coolamqp.objects.Message
and receive them
.. autoclass:: coolamqp.objects.ReceivedMessage
:members:
MessageProperties
-----------------
.. autoclass:: coolamqp.objects.MessageProperties
:members:
.. autoclass:: coolamqp.framing.definitions.BasicContentPropertyList
:members:
:undoc-members:
Take care, as :class:`~coolamqp.objects.MessageProperties` will hash the
keys found and store it within non-GCable memory. So each "variant" of message
properties encountered will be compiled as a separate class.
Who am I talking to?
--------------------
:class:`coolamqp.clustering.Cluster` has a nice property, that will return None until the connection is established.
If it is, it will return something like this:
.. autoclass:: coolamqp.objects.ServerProperties
:members:
This diff is collapsed.
Click to expand it.
docs/index.rst
+
2
−
2
View file @
106af1a8
...
...
@@ -10,10 +10,10 @@ Welcome to CoolAMQP's documentation!
tutorials
how-to-guide
caveats
frames
basics
tracing
advanced
reference
frames
Quick FAQ
=========
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment