Inheritance: IHttpResponse, IDisposable
		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();
		}