sessionful library

Support for doing something awesome.

More dartdocs go here.

Classes

BuffersCombiner
Session
This object represent single channel of communication. It wraps data with envelope which allows SessionsDispatcher to dispatch bytes to proper Sessions. This object should be used to send and receive data from other party multiplexing multiple session on single data channel.
SessionsDispatcher
This class acts as a de-multiplexer of incoming data stream. It allows to identify and forward data to proper session. If no session match incoming data, new will be formed and passed to observer.
UnboundBuffersCombiner

Typedefs

SessionObserver = void Function(Session)