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();
		}