Session
A Session is an authenticated two-way link between a client and the Router, enabling real-time, interactive communication between the client and other peers (incl. the Router itself) over a single Realm.
Key characteristics:
- A session is established at a certain point in time, and then ‘torn down’–brought to an end–at some later point.
- A session is attached to a single Realm
- A session is authenticated on the Realm (unless
anonymous
is being used asauthmethod
) - A session is stateful, meaning that Bondy holds current state information about the session to be able to communicate, as opposed to stateless communication, where the communication consists of independent request-response interactions.
Types
session
name
stringREQUIREDThe name of the thing
Procedures
Name | URI |
---|---|
Retrieve a session | wamp.session.get |
Retrieve a session
bondy.session.get(id) -> session()
Retrieves information on a specific session
Call
Positional Args
Keyword Args
None.
Result
Positional Results
Keyword Results
None.
Errors
Topics
bondy.session.on_join
Positional Results
Keyword Results
None.
bondy.session.on_leave
Positional Results
Keyword Results
None.