.. index:: pair: enum; Method .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250e: enum EE::Network::Http::Request::Method ======================================= Overview ~~~~~~~~ Enumerate the available HTTP methods for a request. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include enum Method { :ref:`Get`, :ref:`Head`, :ref:`Post`, :ref:`Put`, :ref:`Delete`, :ref:`Options`, :ref:`Patch`, :ref:`Connect`, }; .. _details-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250e: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Enumerate the available HTTP methods for a request. Enum Values ----------- .. index:: pair: enumvalue; Get .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250ea3339a8e1591b12dc2bb86d1e7e1f95bd: .. ref-code-block:: cpp :class: doxyrest-title-code-block Get The GET method requests a representation of the specified resource. Requests using GET should only retrieve data. .. index:: pair: enumvalue; Head .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250ea08ea0a20e505eed0272ed41ea0d0a3a1: .. ref-code-block:: cpp :class: doxyrest-title-code-block Head :ref:`Request ` a page's header only. .. index:: pair: enumvalue; Post .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250ea76589fc328be29557849426e234c0438: .. ref-code-block:: cpp :class: doxyrest-title-code-block Post The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server. .. index:: pair: enumvalue; Put .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250ea2b5c704ed8a266b936c696b60e910e6a: .. ref-code-block:: cpp :class: doxyrest-title-code-block Put The PUT method replaces all current representations of the target resource with the request payload. .. index:: pair: enumvalue; Delete .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250eae42e820c0755ced7dbe20b5997089518: .. ref-code-block:: cpp :class: doxyrest-title-code-block Delete The DELETE method deletes the specified resource. .. index:: pair: enumvalue; Options .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250eade28d76cf86de800c1a0642a0213ed40: .. ref-code-block:: cpp :class: doxyrest-title-code-block Options The OPTIONS method is used to describe the communication options for the target resource. .. index:: pair: enumvalue; Patch .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250eaafb2dc6f45272d5ce2a3564fecf2f097: .. ref-code-block:: cpp :class: doxyrest-title-code-block Patch The PATCH method is used to apply partial modifications to a resource. .. index:: pair: enumvalue; Connect .. _doxid-class_e_e_1_1_network_1_1_http_1_1_request_1aec60c31c99ba94fcf071b57bca91250ea1cc5ea98b7957c757e1c003bcf03433d: .. ref-code-block:: cpp :class: doxyrest-title-code-block Connect resource. It can be used to open a tunnel. The CONNECT method starts two-way communications with the requested