public override async Task ProcessAsync(PipelineCallContext context) { var socketTransportContext = context as SocketClientContext; if (socketTransportContext == null) { throw new InvalidOperationException("the context is not compatible with the transport"); } await socketTransportContext.ProcessAsync().ConfigureAwait(false); }
public PipelineCallOptions(PipelineCallContext context) => _context = context;
public ServiceResponse(PipelineCallContext context) => _context = context;