public AspNetRequest(ushort id, BeginRequestMessageBody body, IAspNetRequestConfig config) : base(id, body) { _config = config; this.Status = String.Empty; this.Headers = new NameValueCollection(); }
public CustomAspNetRequest(ushort id, BeginRequestMessageBody body, ServerInternal server) : base(id, body) { //these must be the same values used when calling ApplicationHost.CreateApplicationHost this.VirtualPath = server.VirtualPath; this.PhysicalPath = server.PhysicalPath; }
public SimpleRequest(ushort id, BeginRequestMessageBody body) : base(id, body) { }
public OwinRequest(ushort id, BeginRequestMessageBody body, OwinMiddleware pipeline) : base(id, body) { this.pipeline = pipeline; context.Set <Action <Action <object>, object> >("server.OnSendingHeaders", RegisterOnSendingHeadersCallback); }
protected override Request CreateRequest(ushort requestId, BeginRequestMessageBody body) { return(new OwinRequest(requestId, body, pipeline)); }
protected override Request CreateRequest(ushort requestId, BeginRequestMessageBody body) { return(new AspNetRequest(requestId, body, _config)); }