1#ifndef SOURCEMETA_CORE_HTTP_METHOD_H_
2#define SOURCEMETA_CORE_HTTP_METHOD_H_
8namespace sourcemeta::core {
HTTPMethod
Definition http_method.h:12
constexpr auto http_method_string(const HTTPMethod method) noexcept -> std::string_view
Definition http_method.h:44
@ OPTIONS
Describe the communication options available for the target resource.
Definition http_method.h:26
@ TRACE
Perform a message loop-back test along the path to the target resource.
Definition http_method.h:28
@ DELETE
Remove the association between the target resource and its function.
Definition http_method.h:22
@ PUT
Replace the target resource with the enclosed representation.
Definition http_method.h:20
@ PATCH
Apply a partial modification to the target resource per RFC 5789 ยง2.
Definition http_method.h:30
@ GET
Transfer a current representation of the target resource.
Definition http_method.h:14
@ POST
Process the enclosed representation according to the resource semantics.
Definition http_method.h:18
@ CONNECT
Establish a tunnel to the server identified by the target resource.
Definition http_method.h:24
@ HEAD
Identical to a retrieval but without transferring the response content.
Definition http_method.h:16