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)

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

OnException(Exception)

Method 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)

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

OnHttpRequestOpen(HttpRequest)

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

OnServerStarted(HttpServer)

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

OnServerStarting(HttpServer)

Method that is called immediately before starting the HttpServer.

OnServerStopped(HttpServer)

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

OnServerStopping(HttpServer)

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

OnSetupRouter(Router)

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