Registers with a cafe and saves an expiring service session token
An access token is required to register, and should be obtained separately from the target Cafe.
The host Cafe address
An access token supplied by the target Cafe
A new Cafe session JWT
Retrieves information about a cafe session
ID of the target Cafe
A Cafe session JWT
Retrieves information about all active cafe sessions
An array of Cafe session JWTs
Checkes for messages at all cafes.
New messages are downloaded and processed opportunistically.
Whether the operation was successfull
Deregisters with a cafe and removes local session data
Note: pinned content will expire based on the Cafe’s service rules.
ID of the target Cafe
Whether the deregistration was successfull
Cafes is an API module for managing Cafe access, messages, and services
Cafes are other peers on the network who offer pinning, backup, and inbox services.
API