InMemoryTransport constructor

InMemoryTransport({
  1. required void onConnect(
    1. InMemoryConnection serverSide
    ),
})

Creates a transport that hands the server side of each new connection to onConnect.

Implementation

InMemoryTransport({required this.onConnect});