server library

Lightning fast, strongly typed network protocol

Classes

AcknowledgedMessage<T extends DataObject>
A message received by the server that is an acknowledgement of a previous message of type T.
BoltServer
A server that listens for incoming Connections.
Connection
Represents a connection between the server and a client.
Message<T extends DataObject>
A message received by the server. The data is guaranteed to be of type T.
UntypedMessage<T>
A message received by the server.

Typedefs

MessageHandler<T extends UntypedMessage> = FutureOr<void> Function(T message)
Handler for messages sent by a Connection.