Extends: Reference
A base class for all HTTP routers
func handle_get(request: HttpRequest, response: HttpResponse) -> void
Handle a GET request
func handle_post(request: HttpRequest, response: HttpResponse) -> void
Handle a POST request
func handle_head(request: HttpRequest, response: HttpResponse) -> void
Handle a HEAD request
func handle_put(request: HttpRequest, response: HttpResponse) -> void
Handle a PUT request
func handle_patch(request: HttpRequest, response: HttpResponse) -> void
Handle a PATCH request
func handle_delete(request: HttpRequest, response: HttpResponse) -> void
Handle a DELETE request
func handle_options(request: HttpRequest, response: HttpResponse) -> void
Handle an OPTIONS request