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 HTTP Server instance.

ListeningHost

Gets the ListeningHost instance of this HTTP context.

MatchedRoute

Gets the matched HTTP Route object from the Router.

OverrideHeaders

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

Request

Gets the HTTP request 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 or sets the HTTP response for this context. This property is only not null when a post-executing IRequestHandler was executed for this router context.