Пример #1
0
 public FileServer( HttpServerConfiguration configuration )
 {
     Configuration = configuration;
     Console.WriteLine( "FileServer started" );
 }
 public SocketApplicationProxy( IRouteRequest factory, HttpServerConfiguration configuration )
 {
     Clients = new ConcurrentDictionary<string, SocketClient>();
     Router = factory;
     Configuration = configuration;
 }
Пример #3
0
 public HttpApplicationProxy( IRouteRequest factory, HttpServerConfiguration configuration )
 {
     Router = factory;
     Configuration = configuration;
 }
Пример #4
0
        public ResponseHelper( HttpServerConfiguration configuration )
        {
            Configuration = configuration;
            Encoder = x => Encoding.UTF8.GetBytes( x );
			PendingWrite = new ManualResetEventSlim( true );
        }