/// <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) { }
public Http2ClientUpgradeCodec(Http2FrameCodec frameCodec, IChannelHandler upgradeToHandler) : this(null, frameCodec, upgradeToHandler) { }
public Http2ClientUpgradeCodec(string handlerName, Http2FrameCodec frameCodec, IChannelHandler upgradeToHandler) : this(handlerName, (Http2ConnectionHandler)frameCodec, upgradeToHandler, null) { }
public ConnectionListener(Http2FrameCodec frameCodec) => _frameCodec = frameCodec;