Module vibe.rpcchannel.protocol
Low level wire protocol for RPC.
Functions
Name | Description |
---|---|
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
Name | Description |
---|---|
CallMessage | Message sent to server to call a function. |
ErrorMessage | Message sent to client as response to a call if an error occured. |
EventMessage | Message sent to client if an event occurs. |
ResultMessage | Message sent to client as response to a call if call was sucessfull. |
Enums
Name | Description |
---|---|
ErrorType | If an error is being send, type of error. |
RequestType | Type of message sent to server. |
ResponseType | Type of message sent to client. |