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
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Gets the current running HttpContext.
Gets or sets the HttpHeaderCollection indicating HTTP headers which will be added (not overwritten) in the final response.
Gets the context HttpServer instance.
Gets whether the current thread context is running inside an HTTP context.
Gets the ListeningHost instance of this HTTP context.
Gets or sets an LogOutput mode for this context, which will overwrite the matched route log mode option.
Gets the matched Route for this context.
Gets or sets an HttpHeaderCollection indicating HTTP headers which will overwrite headers set by CORS, router response or request handlers.
Gets the HttpRequest which is contained in this HTTP context.
Gets or sets a managed collection for this HTTP context.
Gets the Router where this context was created.
Gets the HttpResponse for this context. This property acessible when a post-executing IRequestHandler was executed for this router context.
Methods
Gets the current running HttpContext.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語