Controls when a network message is actually sent to the server.

Enumeration Members

Immediate: 3

Send the message to the server immediately without buffering.

OnConnection: 0

Hold the message until the transport connection opens, then send it. Use for messages that must arrive as soon as the socket is ready (e.g. join-room).

OnRoomJoin: 1

Hold the message until the client has joined a room, then send it. Use for messages that require room context.

Queued: 2

Buffer the message and send it on the next sendBufferedMessagesNow() call (typically once per frame). This is the default for send().