Sent by a Peer to abort the opening of a Session.
Error reply sent by a Peer as an error response to different kinds of requests.
Error reply sent by a Peer as an error response to different kinds of requests.
[ERROR, REQUEST.Type|int, REQUEST.Request|id, Details|dict, Error|uri
[ERROR, REQUEST.Type|int, REQUEST.Request|id, Details|dict, Error|uri, Arguments|list]
[ERROR, REQUEST.Type|int, REQUEST.Request|id, Details|dict, Error|uri, Arguments|list, ArgumentsKw|dict]
is either a list of any arguments or a key-value-pairs set
Event dispatched by Broker to Subscribers for Subscriptions the event was matching.
Event dispatched by Broker to Subscribers for Subscriptions the event was matching.
[EVENT, SUBSCRIBED.Subscription|id, PUBLISHED.Publication|id, Details|dict]
[EVENT, SUBSCRIBED.Subscription|id, PUBLISHED.Publication|id, Details|dict, Arguments|list]
[EVENT, SUBSCRIBED.Subscription|id, PUBLISHED.Publication|id, Details|dict, Arguments|list, ArgumentsKw|dict]
is the ID for the subscription under which the Subscribe receives the event (the ID for the subscription originally handed out by the Broker to the Subscriber.
is the ID of the publication of the published event
is a dictionary that allows to provide additional event details in an extensible way.
is either a list of any arguments or a key-value-pairs set
Sent by a Peer to close a previously opened Session.
Sent by a Peer to close a previously opened Session. Must be echo'ed by the receiving Peer.
[GOODBYE, Details|dict, Reason|uri]
Sent by a Client to initiate opening of a Session to a Router attaching to a Realm.
Sent by a Client to initiate opening of a Session to a Router attaching to a Realm.
[HELLO, Realm|uri, Details|dict]
WAMP uses "roles & features announcement" instead of "protocol versioning" to allow
- implementations only supporting subsets of functionality - future extensibility
A Client must announce the roles it supports via "Hello.Details.roles|dict", with a key mapping to a "Hello.Details.roles.<role>|dict" where "<role>" can be:
- "publisher" - "subscriber" - "caller" - "callee"
Common interface of WAMP messages exchanged by two Peers during a Session
Sent by a Publisher to a Broker to publish an Event.
Sent by a Publisher to a Broker to publish an Event.
[PUBLISH, Request|id, Options|dict, Topic|uri]
[PUBLISH, Request|id, Options|dict, Topic|uri, Arguments|list]
[PUBLISH, Request|id, Options|dict, Topic|uri, Arguments|list, ArgumentsKw|dict]
is a random, ephemeral ID chosen by the Publisher and used to correlate the Broker's response with the request.
is the topic published to.
is either a list of any arguments or a key-value-pairs set
is a dictionary that allows to provide additional publication request details in an extensible way.
Acknowledge sent by a Broker to a Publisher for acknowledged Publications.
Acknowledge sent by a Broker to a Publisher for acknowledged Publications.
[PUBLISHED, PUBLISH.Request|id, Publication|id]
Subscribe request sent by a Subscriber to a Broker to subscribe to a Topic.
Subscribe request sent by a Subscriber to a Broker to subscribe to a Topic.
[SUBSCRIBE, Request|id, Options|dict, Topic|uri]
is a random, ephemeral ID chosen by the Subscribe and used to correlate the Broker's response with the request
is the topic the Subscribe wants to subscribe to
is a dictionary that allows to provide additional subscription request details in a extensible way
Acknowledge sent by a Broker to a Subscriber to acknowledge a subscription.
Acknowledge sent by a Broker to a Subscriber to acknowledge a subscription.
[SUBSCRIBED, SUBSCRIBE.Request|id, Subscription|id]
is the ID from the original Subscribe request
is an ID chosen by the Broker for the subscription
Unsubscribe request sent by a Subscriber to a Broker to unsubscribe from a Subscription.
Unsubscribe request sent by a Subscriber to a Broker to unsubscribe from a Subscription.
[UNSUBSCRIBE, Request|id, SUBSCRIBED.Subscription|id]
is a random, ephemeral ID chosen by the Unsubscribe and used to correlate the Broker's response with the request
is the ID for the subscription to unsubscribe from, originally handed out by the Broker to the Subscriber
Acknowledge sent by a Broker to a Subscriber to acknowledge unsubscription.
Acknowledge sent by a Broker to a Subscriber to acknowledge unsubscription.
[UNSUBSCRIBED, UNSUBSCRIBE.Request|id]
is the ID from the original Subscribed request
Sent by a Router to accept a Client and let it know the Session is now open
Sent by a Router to accept a Client and let it know the Session is now open
[WELCOME, Session|id, Details|dict]
is the session identifier
is the session details
Sent by a Peer to abort the opening of a Session. No response is expected.
[ABORT, Details|dict, Reason|uri]