예제 #1
0
 public Task WritePushPromiseAsync(IChannelHandlerContext ctx, int streamId, int promisedStreamId, IHttp2Headers headers, int padding, IPromise promise)
 {
     _logger.LogPushPromise(Direction.Outbound, ctx, streamId, promisedStreamId, headers, padding);
     return(_writer.WritePushPromiseAsync(ctx, streamId, promisedStreamId, headers, padding, promise));
 }
예제 #2
0
 public void OnPushPromiseRead(IChannelHandlerContext ctx, int streamId, int promisedStreamId, IHttp2Headers headers, int padding)
 {
     _logger.LogPushPromise(Direction.Inbound, ctx, streamId, promisedStreamId, headers, padding);
     _listener.OnPushPromiseRead(ctx, streamId, promisedStreamId, headers, padding);
 }