Table of Contents

Class HttpContext

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

Represents an context that is shared in a entire HTTP session.

public sealed class HttpContext
Inheritance
HttpContext
Inherited Members

Properties

HttpServer

Gets the context HttpServer instance.

ListeningHost

Gets the ListeningHost instance of this HTTP context.

MatchedRoute

Gets the matched Route for this context.

OverrideHeaders

Gets or sets an NameValueCollection indicating HTTP headers which will overwrite headers set by CORS, router response or request handlers.

Request

Gets the HttpRequest which is contained in this HTTP context.

RequestBag

Gets or sets a managed object that is accessed and modified by request handlers.

Router

Gets the Router where this context was created.

RouterResponse

Gets the HttpResponse for this context. This property acessible when a post-executing IRequestHandler was executed for this router context.