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