/// <summary>
 /// Creates the codec using a default name for the connection handler when adding to the pipeline.
 /// </summary>
 /// <param name="http2Codec">the HTTP/2 frame handler.</param>
 /// <param name="handlers">the handlers that will handle the <see cref="IHttp2Frame"/>s.</param>
 public Http2ServerUpgradeCodec(Http2FrameCodec http2Codec, params IChannelHandler[] handlers)
     : this(null, http2Codec, handlers)
 {
 }
示例#2
0
 public Http2ClientUpgradeCodec(Http2FrameCodec frameCodec, IChannelHandler upgradeToHandler)
     : this(null, frameCodec, upgradeToHandler)
 {
 }
示例#3
0
 public Http2ClientUpgradeCodec(string handlerName, Http2FrameCodec frameCodec, IChannelHandler upgradeToHandler)
     : this(handlerName, (Http2ConnectionHandler)frameCodec, upgradeToHandler, null)
 {
 }
示例#4
0
 public ConnectionListener(Http2FrameCodec frameCodec) => _frameCodec = frameCodec;