Module vibe.rpcchannel.protocol

Low level wire protocol for RPC.

Functions

NameDescription
deserializeJsonLine(stream)Read one line from stream and deserialize the json value.
serializeToJsonLine(stream, value)Serialize the json value and write as one line to stream.
skipParameters(stream, num)Skip num objects on stream.

Structs

NameDescription
CallMessageMessage sent to server to call a function.
ErrorMessageMessage sent to client as response to a call if an error occured.
EventMessageMessage sent to client if an event occurs.
ResultMessageMessage sent to client as response to a call if call was sucessfull.

Enums

NameDescription
ErrorTypeIf an error is being send, type of error.
RequestTypeType of message sent to server.
ResponseTypeType of message sent to client.