public HttpListenerContextAdapter(IHttpEnvironment environment, HttpListenerContext context)
 {
     _context = context;
     Request = new HttpListenerRequestAdapter(context.Request);
     ResponseInternal = new HttpListenerResponseAdapter(context.Response);
     Environment = environment;
 }
Ejemplo n.º 2
0
 public HttpListenerContextAdapter(IHttpEnvironment environment, HttpListenerContext context)
 {
     _context         = context;
     Request          = new HttpListenerRequestAdapter(context.Request);
     ResponseInternal = new HttpListenerResponseAdapter(context.Response);
     Environment      = environment;
 }
Ejemplo n.º 3
0
 public Listener(IHttpEnvironment environment, params IHttpRequestHandler[] handlers)
 {
     _environment = environment;
     _handlers = handlers;
 }
Ejemplo n.º 4
0
 public Listener(IHttpEnvironment environment,
     IEnumerable<IHttpRequestHandler> handlers)
 {
     _environment = environment;
     _handlers = handlers;
 }
Ejemplo n.º 5
0
 public HttpContext(IHttpEnvironment environment)
 {
     _features = environment;
     _request = new HttpRequest(this);
     _response = new HttpResponse(this);
 }
Ejemplo n.º 6
0
 public Listener(IHttpEnvironment environment, params IHttpRequestHandler[] handlers)
 {
     _environment = environment;
     _handlers    = handlers;
 }
Ejemplo n.º 7
0
 public Listener(IHttpEnvironment environment,
                 IEnumerable <IHttpRequestHandler> handlers)
 {
     _environment = environment;
     _handlers    = handlers;
 }