Ejemplo n.º 1
0
 public Http2Tests(ITestOutputHelper log, Http2Server server)
 {
     _server = server ?? throw new ArgumentNullException(nameof(server));
     _log    = log ?? throw new ArgumentNullException(nameof(log));
 }
Ejemplo n.º 2
0
 public WebHost(IHttp2Invoker invoker = null, int port = 39654, int count = 100, int size = 1024, int timeOut = 180 * 1000)
 {
     _http2Server = new Http2Server(invoker, port, count, size, timeOut);
 }