Exemplo n.º 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)
 {
 }
Exemplo n.º 2
0
 public Http2ClientUpgradeCodec(Http2FrameCodec frameCodec, IChannelHandler upgradeToHandler)
     : this(null, frameCodec, upgradeToHandler)
 {
 }
Exemplo n.º 3
0
 public Http2ClientUpgradeCodec(string handlerName, Http2FrameCodec frameCodec, IChannelHandler upgradeToHandler)
     : this(handlerName, (Http2ConnectionHandler)frameCodec, upgradeToHandler, null)
 {
 }
Exemplo n.º 4
0
 public ConnectionListener(Http2FrameCodec frameCodec) => _frameCodec = frameCodec;