public HttpListenerContextAdpater(HttpListenerContext ctx, RavenConfiguration configuration)
		{
			this.ctx = ctx;
			this.configuration = configuration;
			Request = new HttpListenerRequestAdapter(ctx.Request);
			ResponseInternal = new HttpListenerResponseAdapter(ctx.Response);
		}
Exemplo n.º 2
0
 public HttpListenerContextAdpater(HttpListenerContext ctx, RavenConfiguration configuration)
 {
     this.ctx           = ctx;
     this.configuration = configuration;
     Request            = new HttpListenerRequestAdapter(ctx.Request);
     Response           = new HttpListenerResponseAdapter(ctx.Response);
 }
Exemplo n.º 3
0
        public HttpListenerContextAdpater(HttpListenerContext ctx, InMemoryRavenConfiguration configuration)
        {
            this.ctx           = ctx;
            this.configuration = configuration;
            Request            = new HttpListenerRequestAdapter(ctx.Request);
            ResponseInternal   = new HttpListenerResponseAdapter(ctx.Response);

            SetMaxAge();
        }
Exemplo n.º 4
0
        public HttpListenerContextAdpater(HttpListenerContext ctx, InMemoryRavenConfiguration configuration, IBufferPool bufferPool)
        {
            this.ctx           = ctx;
            this.configuration = configuration;
            this.bufferPool    = bufferPool;
            ResponseInternal   = new HttpListenerResponseAdapter(ctx.Response, bufferPool);
            RequestInternal    = new HttpListenerRequestAdapter(ctx.Request);

            SetMaxAge();
        }
		public HttpListenerContextAdpater(HttpListenerContext ctx, InMemoryRavenConfiguration configuration, IBufferPool bufferPool)
		{
			this.ctx = ctx;
			this.configuration = configuration;
			this.bufferPool = bufferPool;
			ResponseInternal = new HttpListenerResponseAdapter(ctx.Response, bufferPool);
			RequestInternal = new HttpListenerRequestAdapter(ctx.Request);

			SetMaxAge();
		}