Expand description
Defines all the structs needed to interact with the Rojo Serve API. This is useful for tests to be able to use the same data structures as the implementation.
Structs§
- Buffer
Encode - Using this struct we can force Roblox to JSONDecode this as a buffer. This is what Roblox’s serde APIs use, so it saves a step in the plugin.
- Error
Response - General response type returned from all Rojo routes
- Instance
- Instance
Metadata - Instance
Update - Open
Response - Response body from /api/open/{id}
- Read
Response - Response body from /api/read/{id}
- RefPatch
Response - Serialize
Response - Server
Info Response - Response body from /api/rojo
- Subscribe
Message - Message returned by Rojo API when a change has occurred.
- Subscribe
Response - Response body from /api/subscribe/{cursor}
- Write
Request - Write
Response
Enums§
Constants§
- PROTOCOL_
VERSION - Current protocol version, which is required to match.