Polyjuice Client v0.1.0 Polyjuice.Client.API protocol View Source

Protocol for calling the Matrix client API.

Link to this section Summary

Functions

Call a Matrix client API. This is a lower-level function; generally, clients will want to call one of the higher-level functions from Polyjuice.Client.

Get the child spec for the sync process.

Generate a unique transaction ID.

Link to this section Types

Link to this section Functions

Link to this function

call(client_api, endpoint)

View Source

Call a Matrix client API. This is a lower-level function; generally, clients will want to call one of the higher-level functions from Polyjuice.Client.

Link to this function

sync_child_spec(client_api, listener, storage, opts \\ [])

View Source

Get the child spec for the sync process.

Link to this function

transaction_id(client_api)

View Source

Generate a unique transaction ID.