socket_io library

socket.io realtime for freedome_client — opt-in (02f §7.1, F9): for servers / proxies that only pass socket.io.

final client = FreedomeClient(
  endpoint: endpoint,
  options: const FreedomeClientOptions(
    realtime: RealtimeTransport.socketIo,
    socketIo: socketIoConnector,
  ),
);

Classes

SocketIoChannel
A RealtimeChannel over socket.io.

Functions

socketIoConnector(FreedomeEndpoint endpoint, {FreedomeLogger? logger}) → RealtimeConnector
The connector to pass as FreedomeClientOptions.socketIo.