예제 #1
0
 /// <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;