Beispiel #1
0
 public Task WriteHeadersAsync(IChannelHandlerContext ctx, int streamId, IHttp2Headers headers, int padding, bool endOfStream, IPromise promise)
 {
     _logger.LogHeaders(Direction.Outbound, ctx, streamId, headers, padding, endOfStream);
     return(_writer.WriteHeadersAsync(ctx, streamId, headers, padding, endOfStream, promise));
 }
 public void OnHeadersRead(IChannelHandlerContext ctx, int streamId, IHttp2Headers headers, int padding, bool endOfStream)
 {
     _logger.LogHeaders(Direction.Inbound, ctx, streamId, headers, padding, endOfStream);
     _listener.OnHeadersRead(ctx, streamId, headers, padding, endOfStream);
 }