internal Context(HttpContext aspNetContext, PluginCollection plugins) { Plugins = plugins; AspNetContext = aspNetContext; Request = new Request(this, aspNetContext.Request); Response = new Response(this, aspNetContext.Response); }
internal Response(HttpResponse resp, PluginCollection plugins) { UnderlyingResponse = resp; ServerPlugins = plugins; }
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); }
internal Request(HttpContext context, PluginCollection plugins) { UnderlyingContext = context; Parameters = new RequestParameters(context); ServerPlugins = plugins; }
internal Response(HttpContext context, PluginCollection plugins) { UnderlyingContext = context; ServerPlugins = plugins; }
internal WebSocketDialog(HttpContext ctx, WebSocket underlyingWebSocket, PluginCollection plugins) { UnderlyingRequest = ctx.Request; UnderlyingWebSocket = underlyingWebSocket; ServerPlugins = plugins; }