Class AsyncHttpServerHandler
Represents an asynchronous event handler for the HttpServer, router, and related events.
public abstract class AsyncHttpServerHandler : HttpServerHandler
- Inheritance
-
AsyncHttpServerHandler
- Inherited Members
Constructors
Methods
- OnContextBagCreated(TypedValueDictionary)
Event that is called when an HTTP context is created within an HttpRequest object.
- OnContextBagCreatedAsync(TypedValueDictionary)
Method 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.
- OnExceptionAsync(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)
Event that is called when an HttpRequest is closed in the HTTP server.
- OnHttpRequestCloseAsync(HttpServerExecutionResult)
Method 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.
- OnHttpRequestOpenAsync(HttpRequest)
Method 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.
- OnServerStartedAsync(HttpServer)
Method 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.
- OnServerStartingAsync(HttpServer)
Method 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.
- OnServerStoppedAsync(HttpServer)
Method 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.
- OnServerStoppingAsync(HttpServer)
Method 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.
- OnSetupRouterAsync(Router)
Method that is called when an Router is binded to the HTTP server.