Module librojo::web_api[][src]

Defines all the structs needed to interact with the Rojo Serve API.

Structs

ErrorResponse

General response type returned from all Rojo routes

Instance
InstanceMetadata
InstanceUpdate
OpenResponse

Response body from /api/open/{id}

ReadResponse

Response body from /api/read/{id}

ServerInfoResponse

Response body from /api/rojo

SubscribeMessage

Message returned by Rojo API when a change has occurred.

SubscribeResponse

Response body from /api/subscribe/{cursor}

WriteRequest
WriteResponse

Enums

ErrorResponseKind

Constants

PROTOCOL_VERSION

Current protocol version, which is required to match.