Table of Contents

Class HttpServerHandler

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

Represents an event handler for the HttpServer, router, and related events.

public abstract class HttpServerHandler
Inheritance
HttpServerHandler
Derived
Inherited Members

Constructors

HttpServerHandler()

Methods

OnContextBagCreated(TypedValueDictionary)

Event that is called when an HTTP context is created within an HttpRequest object.

OnException(Exception)

Event that is called when an exception is caught in the HTTP server. This method is called regardless of whether ThrowExceptions is enabled or not.

OnHttpRequestClose(HttpServerExecutionResult)

Event that is called when an HttpRequest is closed in the HTTP server.

OnHttpRequestOpen(HttpRequest)

Event that is called when an HttpRequest is received in the HTTP server.

OnServerStarted(HttpServer)

Event that is called immediately after starting the HttpServer, when it's ready and listening.

OnServerStarting(HttpServer)

Event that is called immediately before starting the HttpServer.

OnServerStopped(HttpServer)

Event that is called after the HttpServer is stopped, meaning it has stopped from listening to requests.

OnServerStopping(HttpServer)

Event that is called before the HttpServer stop, when it is stopping from listening requests.

OnSetupRouter(Router)

Event that is called when an Router is binded to the HTTP server.