Exemplo n.º 1
0
 public SocketClientContext(ref PipelineOptions options, CancellationToken cancellation)
     : base(cancellation)
 {
     _responseBuffer = new Sequence <byte>(options.Pool);
     _requestBuffer  = new Sequence <byte>(options.Pool);
 }
Exemplo n.º 2
0
 public override PipelineCallContext CreateContext(PipelineOptions options, CancellationToken cancellation)
 => new SocketClientContext(ref options, cancellation);