3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>http::verb</title>
5 <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../index.html" title="Chapter 1. Boost.Beast">
8 <link rel="up" href="../ref.html" title="This Page Intentionally Left Blank 2/2">
9 <link rel="prev" href="boost__beast__http__vector_body/writer.html" title="http::vector_body::writer">
10 <link rel="next" href="boost__beast__http__write.html" title="http::write">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="boost__beast__http__vector_body/writer.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__write.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="beast.ref.boost__beast__http__verb"></a><a class="link" href="boost__beast__http__verb.html" title="http::verb">http::verb</a>
28 </h4></div></div></div>
30 <a class="indexterm" name="idm45873489214752"></a>
31 HTTP request method verbs.
34 <a name="beast.ref.boost__beast__http__verb.h0"></a>
35 <span class="phrase"><a name="beast.ref.boost__beast__http__verb.synopsis"></a></span><a class="link" href="boost__beast__http__verb.html#beast.ref.boost__beast__http__verb.synopsis">Synopsis</a>
38 Defined in header <code class="literal"><<a href="../../../../../../boost/beast/http/verb.hpp" target="_top">boost/beast/http/verb.hpp</a>></code>
40 <pre class="programlisting"><span class="keyword">enum</span> <span class="identifier">verb</span>
43 <a class="indexterm" name="idm45873489206800"></a>
44 <a class="indexterm" name="idm45873489205696"></a>
45 <a class="indexterm" name="idm45873489204592"></a>
46 <a class="indexterm" name="idm45873489203520"></a>
47 <a class="indexterm" name="idm45873489202416"></a>
48 <a class="indexterm" name="idm45873489201312"></a>
49 <a class="indexterm" name="idm45873489200240"></a>
50 <a class="indexterm" name="idm45873489199136"></a>
51 <a class="indexterm" name="idm45873489198032"></a>
52 <a class="indexterm" name="idm45873489196928"></a>
53 <a class="indexterm" name="idm45873489195824"></a>
54 <a class="indexterm" name="idm45873489194720"></a>
55 <a class="indexterm" name="idm45873489193616"></a>
56 <a class="indexterm" name="idm45873489192512"></a>
57 <a class="indexterm" name="idm45873489191408"></a>
58 <a class="indexterm" name="idm45873489190304"></a>
59 <a class="indexterm" name="idm45873489189200"></a>
60 <a class="indexterm" name="idm45873489188096"></a>
61 <a class="indexterm" name="idm45873489186992"></a>
62 <a class="indexterm" name="idm45873489185888"></a>
63 <a class="indexterm" name="idm45873489184784"></a>
64 <a class="indexterm" name="idm45873489183664"></a>
65 <a class="indexterm" name="idm45873489182560"></a>
66 <a class="indexterm" name="idm45873489181456"></a>
67 <a class="indexterm" name="idm45873489180352"></a>
68 <a class="indexterm" name="idm45873489179248"></a>
69 <a class="indexterm" name="idm45873489178144"></a>
70 <a class="indexterm" name="idm45873489177040"></a>
71 <a class="indexterm" name="idm45873489175936"></a>
72 <a class="indexterm" name="idm45873489174832"></a>
73 <a class="indexterm" name="idm45873489173728"></a>
74 <a class="indexterm" name="idm45873489172624"></a>
75 <a class="indexterm" name="idm45873489171520"></a>
76 <a class="indexterm" name="idm45873489170416"></a>
80 <a name="beast.ref.boost__beast__http__verb.h1"></a>
81 <span class="phrase"><a name="beast.ref.boost__beast__http__verb.values"></a></span><a class="link" href="boost__beast__http__verb.html#beast.ref.boost__beast__http__verb.values">Values</a>
83 <div class="informaltable"><table class="table">
104 <code class="literal">unknown</code>
112 This value indicates that the request method string is not one
113 of the recognized verbs. Callers interested in the method should
114 use an interface which returns the original string.
121 <code class="literal">delete_</code>
126 The DELETE method deletes the specified resource.
133 <code class="literal">get</code>
138 The GET method requests a representation of the specified resource.
141 Requests using GET should only retrieve data and should have no
149 <code class="literal">head</code>
154 The HEAD method asks for a response identical to that of a GET
155 request, but without the response body.
158 This is useful for retrieving meta-information written in response
159 headers, without having to transport the entire content.
166 <code class="literal">post</code>
171 The POST method requests that the server accept the entity enclosed
172 in the request as a new subordinate of the web resource identified
176 The data POSTed might be, for example, an annotation for existing
177 resources; a message for a bulletin board, newsgroup, mailing list,
178 or comment thread; a block of data that is the result of submitting
179 a web form to a data-handling process; or an item to add to a database
186 <code class="literal">put</code>
191 The PUT method requests that the enclosed entity be stored under
195 If the URI refers to an already existing resource, it is modified;
196 if the URI does not point to an existing resource, then the server
197 can create the resource with that URI.
204 <code class="literal">connect</code>
209 The CONNECT method converts the request connection to a transparent
213 This is usually to facilitate SSL-encrypted communication (HTTPS)
214 through an unencrypted HTTP proxy.
221 <code class="literal">options</code>
226 The OPTIONS method returns the HTTP methods that the server supports
227 for the specified URL.
230 This can be used to check the functionality of a web server by
231 requesting '*' instead of a specific resource.
238 <code class="literal">trace</code>
243 The TRACE method echoes the received request so that a client can
244 see what (if any) changes or additions have been made by intermediate
252 <code class="literal">copy</code>
261 <code class="literal">lock</code>
270 <code class="literal">mkcol</code>
279 <code class="literal">move</code>
288 <code class="literal">propfind</code>
297 <code class="literal">proppatch</code>
306 <code class="literal">search</code>
315 <code class="literal">unlock</code>
324 <code class="literal">bind</code>
333 <code class="literal">rebind</code>
342 <code class="literal">unbind</code>
351 <code class="literal">acl</code>
360 <code class="literal">report</code>
369 <code class="literal">mkactivity</code>
378 <code class="literal">checkout</code>
387 <code class="literal">merge</code>
396 <code class="literal">msearch</code>
405 <code class="literal">notify</code>
414 <code class="literal">subscribe</code>
423 <code class="literal">unsubscribe</code>
432 <code class="literal">patch</code>
441 <code class="literal">purge</code>
450 <code class="literal">mkcalendar</code>
459 <code class="literal">link</code>
468 <code class="literal">unlink</code>
477 <a name="beast.ref.boost__beast__http__verb.h2"></a>
478 <span class="phrase"><a name="beast.ref.boost__beast__http__verb.description"></a></span><a class="link" href="boost__beast__http__verb.html#beast.ref.boost__beast__http__verb.description">Description</a>
481 Each verb corresponds to a particular method string used in HTTP request
485 Convenience header <code class="literal"><<a href="../../../../../../boost/beast/http.hpp" target="_top">boost/beast/http.hpp</a>></code>
488 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
489 <td align="left"></td>
490 <td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
492 Distributed under the Boost Software License, Version 1.0. (See accompanying
493 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
498 <div class="spirit-nav">
499 <a accesskey="p" href="boost__beast__http__vector_body/writer.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../ref.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="boost__beast__http__write.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>