Exemplo n.º 1
0
            public async ValueTask <IConnectionController> CreateAsync(ConnectionControllerOptions options, IBytesPool bytesPool)
            {
                var result = new ConnectionController(options, bytesPool);
                await result.InitAsync();

                return(result);
            }
Exemplo n.º 2
0
 internal ConnectionController(ConnectionControllerOptions options, IBytesPool bytesPool)
 {
     _options   = options;
     _bytesPool = bytesPool;
 }