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