Spacetime::Protocol::ServerMessage
Top-level Server -> Client WebSocket message envelope.
Constructors
decode_bsatn(decoder : BSATN::Decoder) : self
Sourcefrom_frame_bytes(frame : Bytes) : self
Decodes a ServerMessage from a binary WebSocket frame (which begins with a 1-byte compression tag).
identity_token(msg : IdentityToken) : self
Sourceinitial_subscription(msg : InitialSubscription) : self
Sourcenew(tag : Tag, payload : Payload)
Sourceone_off_query_response(msg : OneOffQueryResponse) : self
Sourceprocedure_result(msg : ProcedureResult) : self
Sourcesubscribe_applied(msg : SubscribeApplied) : self
Sourcesubscribe_multi_applied(msg : SubscribeMultiApplied) : self
Sourcesubscription_error(msg : SubscriptionError) : self
Sourcetransaction_update(msg : TransactionUpdate) : self
Sourcetransaction_update_light(msg : TransactionUpdateLight) : self
Sourceunsubscribe_applied(msg : UnsubscribeApplied) : self
Sourceunsubscribe_multi_applied(msg : UnsubscribeMultiApplied) : self
SourceInstance methods
encode_bsatn(encoder : BSATN::Encoder) : Nil
Sourcepayload
Sourcetag
Source