public HttpListenerContextAdpater(HttpListenerContext ctx, RavenConfiguration configuration)
		{
			this.ctx = ctx;
			this.configuration = configuration;
			Request = new HttpListenerRequestAdapter(ctx.Request);
			ResponseInternal = new HttpListenerResponseAdapter(ctx.Response);
		}
예제 #2
0
 public HttpListenerContextAdpater(HttpListenerContext ctx, RavenConfiguration configuration)
 {
     this.ctx           = ctx;
     this.configuration = configuration;
     Request            = new HttpListenerRequestAdapter(ctx.Request);
     Response           = new HttpListenerResponseAdapter(ctx.Response);
 }
예제 #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();
        }
예제 #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();
		}