@@ -20,43 +20,37 @@ namespace Aws
20
20
/* *
21
21
* Models Http methods.
22
22
*/
23
- enum class HttpMethod
24
- {
25
- HTTP_GET,
26
- HTTP_POST,
27
- HTTP_DELETE,
28
- HTTP_PUT,
29
- HTTP_HEAD,
30
- HTTP_PATCH
31
- };
32
-
33
- /* *
34
- * Possible default http factory vended http client implementations.
35
- */
36
- enum class TransferLibType
37
- {
38
- DEFAULT_CLIENT = 0 ,
39
- CURL_CLIENT,
40
- WIN_INET_CLIENT,
41
- WIN_HTTP_CLIENT
42
- };
43
-
44
- /* *
45
- * Configuration for a HTTP client, currently used only by libCurl
46
- */
47
- enum class TransferLibPerformanceMode
48
- {
49
- LOW_LATENCY = 0 , // run http client for a lower latency, at the expense of CPU
50
- REGULAR
51
- };
52
-
53
- namespace HttpMethodMapper
54
- {
55
- /* *
56
- * Gets the string value of an httpMethod.
57
- */
58
- AWS_CORE_API const char * GetNameForHttpMethod (HttpMethod httpMethod);
59
- } // namespace HttpMethodMapper
23
+ enum class HttpMethod {
24
+ HTTP_GET,
25
+ HTTP_POST,
26
+ HTTP_DELETE,
27
+ HTTP_PUT,
28
+ HTTP_HEAD,
29
+ HTTP_PATCH,
30
+ HTTP_CONNECT,
31
+ HTTP_OPTIONS,
32
+ HTTP_TRACE,
33
+ };
34
+
35
+ /* *
36
+ * Possible default http factory vended http client implementations.
37
+ */
38
+ enum class TransferLibType { DEFAULT_CLIENT = 0 , CURL_CLIENT, WIN_INET_CLIENT, WIN_HTTP_CLIENT };
39
+
40
+ /* *
41
+ * Configuration for a HTTP client, currently used only by libCurl
42
+ */
43
+ enum class TransferLibPerformanceMode {
44
+ LOW_LATENCY = 0 , // run http client for a lower latency, at the expense of CPU
45
+ REGULAR
46
+ };
47
+
48
+ namespace HttpMethodMapper {
49
+ /* *
50
+ * Gets the string value of an httpMethod.
51
+ */
52
+ AWS_CORE_API const char * GetNameForHttpMethod (HttpMethod httpMethod);
53
+ } // namespace HttpMethodMapper
60
54
61
55
typedef std::pair<Aws::String, Aws::String> HeaderValuePair;
62
56
typedef Aws::Map<Aws::String, Aws::String> HeaderValueCollection;
0 commit comments