Module http

Module http 

Source

Structs§

StatusCode
Codes de statut HTTP

Enums§

HttpMethod
Enum représentant les méthodes HTTP autorisées.

Functions§

send_bad_request_response
Envoie une réponse HTTP 400 Bad Request au client.
send_binary_response
Envoie une réponse HTTP GET avec du contenu binaire au client.
send_forbidden_response
Envoie une réponse HTTP 403 Forbidden au client.
send_get_response
Envoie une réponse HTTP GET au client.
send_head_response
Envoie une réponse HTTP HEAD au client.
send_http_version_not_supported_response
Envoie une réponse HTTP 505 HTTP Version Not Supported au client.
send_internal_server_error_response
Envoie une réponse HTTP 500 Internal Server Error au client.
send_method_not_allowed_response
Envoie une réponse HTTP 405 Method Not Allowed au client.
send_not_found_response
Envoie une réponse HTTP 404 Not Found au client.
send_not_implemented_response
Envoie une réponse HTTP 501 Not Implemented au client.