Starts a message in the output buffer, with its length left to fill in.
- c: the connection whose output buffer gets the message.
- type: the message type byte; 0 for none, as in the first messages a client sends.
begin_message :: (c: *Connection, type: u8)
Starts a message in the output buffer, with its length left to fill in.
Parameters
- c: *Connection
- the connection whose output buffer gets the message.
- type: u8
- the message type byte; 0 for none, as in the first messages a client sends.