Example #1
0
 internal Context(HttpContext aspNetContext, PluginCollection plugins)
 {
     Plugins       = plugins;
     AspNetContext = aspNetContext;
     Request       = new Request(this, aspNetContext.Request);
     Response      = new Response(this, aspNetContext.Response);
 }
Example #2
0
 internal Response(HttpResponse resp, PluginCollection plugins)
 {
     UnderlyingResponse = resp;
     ServerPlugins      = plugins;
 }
Example #3
0
 internal Request(HttpRequest req, PluginCollection plugins)
 {
     UnderlyingRequest = req;
     Parameters        = new RequestParameters(req.HttpContext);
     ServerPlugins     = plugins;
 }
 internal Context(HttpContext aspNetContext, PluginCollection plugins)
 {
     Plugins       = plugins;
     AspNetContext = aspNetContext;
     Params        = new UrlParameters(aspNetContext);
 }
Example #5
0
 internal Request(HttpContext context, PluginCollection plugins)
 {
     UnderlyingContext = context;
     Parameters        = new RequestParameters(context);
     ServerPlugins     = plugins;
 }
Example #6
0
 internal Response(HttpContext context, PluginCollection plugins)
 {
     UnderlyingContext = context;
     ServerPlugins     = plugins;
 }
Example #7
0
 internal WebSocketDialog(HttpContext ctx, WebSocket underlyingWebSocket, PluginCollection plugins)
 {
     UnderlyingRequest   = ctx.Request;
     UnderlyingWebSocket = underlyingWebSocket;
     ServerPlugins       = plugins;
 }