Skip to content
On this page
DRAFT

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 as authmethod)
  • 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

namestringREQUIRED
The name of the thing

Procedures

NameURI
Retrieve a sessionwamp.session.get

Retrieve a session

wamp.session.get(id) -> session()

Retrieves information on a specific session

Call

Positional Args
0id
The session identifier.
Keyword Args

None.

Result

Positional Results
Keyword Results

None.

Errors

Topics

wamp.session.on_join

Positional Results
0uri
The URI of the realm you have created.
Keyword Results

None.

wamp.session.on_leave

Positional Results
0uri
The URI of the realm you have created.
Keyword Results

None.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike (CC-BY-SA) 4.0 International license.
Bondy and Leapsight are registered trademarks.