socket_connector library

Classes

Connection
Side
SocketConnector
Typical usage is via the serverToServer, serverToSocket, socketToSocket and socketToServer methods which are different flavours of the same functionality - to relay information from one socket to another.

Enums

SideState

Typedefs

DataTransformer = Stream<List<int>> Function(Stream<List<int>>)
SocketAuthVerifier = Future<(bool, Stream<Uint8List>?)> Function(Socket socket)
Authenticate a socket with user-defined authentication mechanism.