Esempio n. 1
0
 /// <summary>
 /// Creates the codec providing an upgrade to the given handler for HTTP/2.
 /// </summary>
 /// <param name="handlerName">the name of the HTTP/2 connection handler to be used in the pipeline.</param>
 /// <param name="http2Codec">the HTTP/2 multiplexing handler.</param>
 public Http2ServerUpgradeCodec(string handlerName, Http2MultiplexCodec http2Codec)
     : this(handlerName, http2Codec, EMPTY_HANDLERS)
 {
 }
Esempio n. 2
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 multiplexing handler.</param>
 public Http2ServerUpgradeCodec(Http2MultiplexCodec http2Codec)
     : this(null, http2Codec, EMPTY_HANDLERS)
 {
 }