Zephyr API Documentation
4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
method.h
Go to the documentation of this file.
1
5
/*
6
* Copyright (c) 2022 Meta
7
*
8
* SPDX-License-Identifier: Apache-2.0
9
*/
10
11
#ifndef ZEPHYR_INCLUDE_NET_HTTP_METHOD_H_
12
#define ZEPHYR_INCLUDE_NET_HTTP_METHOD_H_
13
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
28
enum
http_method
{
29
HTTP_DELETE
= 0,
30
HTTP_GET
= 1,
31
HTTP_HEAD
= 2,
32
HTTP_POST
= 3,
33
HTTP_PUT
= 4,
34
HTTP_CONNECT
= 5,
35
HTTP_OPTIONS
= 6,
36
HTTP_TRACE
= 7,
37
HTTP_COPY
= 8,
38
HTTP_LOCK
= 9,
39
HTTP_MKCOL
= 10,
40
HTTP_MOVE
= 11,
41
HTTP_PROPFIND
= 12,
42
HTTP_PROPPATCH
= 13,
43
HTTP_SEARCH
= 14,
44
HTTP_UNLOCK
= 15,
45
HTTP_BIND
= 16,
46
HTTP_REBIND
= 17,
47
HTTP_UNBIND
= 18,
48
HTTP_ACL
= 19,
49
HTTP_REPORT
= 20,
50
HTTP_MKACTIVITY
= 21,
51
HTTP_CHECKOUT
= 22,
52
HTTP_MERGE
= 23,
53
HTTP_MSEARCH
= 24,
54
HTTP_NOTIFY
= 25,
55
HTTP_SUBSCRIBE
= 26,
56
HTTP_UNSUBSCRIBE
= 27,
57
HTTP_PATCH
= 28,
58
HTTP_PURGE
= 29,
59
HTTP_MKCALENDAR
= 30,
60
HTTP_LINK
= 31,
61
HTTP_UNLINK
= 32,
64
HTTP_METHOD_END_VALUE
/* keep this the last value */
66
};
67
68
#ifdef __cplusplus
69
}
70
#endif
71
76
#endif
http_method
http_method
HTTP Request Methods.
Definition
method.h:28
HTTP_PROPPATCH
@ HTTP_PROPPATCH
PROPPATCH.
Definition
method.h:42
HTTP_MSEARCH
@ HTTP_MSEARCH
MSEARCH.
Definition
method.h:53
HTTP_PUT
@ HTTP_PUT
PUT.
Definition
method.h:33
HTTP_MKACTIVITY
@ HTTP_MKACTIVITY
MKACTIVITY.
Definition
method.h:50
HTTP_MKCALENDAR
@ HTTP_MKCALENDAR
MKCALENDAR.
Definition
method.h:59
HTTP_BIND
@ HTTP_BIND
BIND.
Definition
method.h:45
HTTP_PURGE
@ HTTP_PURGE
PURGE.
Definition
method.h:58
HTTP_NOTIFY
@ HTTP_NOTIFY
NOTIFY.
Definition
method.h:54
HTTP_PROPFIND
@ HTTP_PROPFIND
PROPFIND.
Definition
method.h:41
HTTP_DELETE
@ HTTP_DELETE
DELETE.
Definition
method.h:29
HTTP_MERGE
@ HTTP_MERGE
MERGE.
Definition
method.h:52
HTTP_GET
@ HTTP_GET
GET.
Definition
method.h:30
HTTP_REPORT
@ HTTP_REPORT
REPORT.
Definition
method.h:49
HTTP_SUBSCRIBE
@ HTTP_SUBSCRIBE
SUBSCRIBE.
Definition
method.h:55
HTTP_UNBIND
@ HTTP_UNBIND
UNBIND.
Definition
method.h:47
HTTP_CONNECT
@ HTTP_CONNECT
CONNECT.
Definition
method.h:34
HTTP_UNLOCK
@ HTTP_UNLOCK
UNLOCK.
Definition
method.h:44
HTTP_MKCOL
@ HTTP_MKCOL
MKCOL.
Definition
method.h:39
HTTP_OPTIONS
@ HTTP_OPTIONS
OPTIONS.
Definition
method.h:35
HTTP_LINK
@ HTTP_LINK
LINK.
Definition
method.h:60
HTTP_UNSUBSCRIBE
@ HTTP_UNSUBSCRIBE
UNSUBSCRIBE.
Definition
method.h:56
HTTP_REBIND
@ HTTP_REBIND
REBIND.
Definition
method.h:46
HTTP_LOCK
@ HTTP_LOCK
LOCK.
Definition
method.h:38
HTTP_POST
@ HTTP_POST
POST.
Definition
method.h:32
HTTP_HEAD
@ HTTP_HEAD
HEAD.
Definition
method.h:31
HTTP_SEARCH
@ HTTP_SEARCH
SEARCH.
Definition
method.h:43
HTTP_UNLINK
@ HTTP_UNLINK
UNLINK.
Definition
method.h:61
HTTP_ACL
@ HTTP_ACL
ACL.
Definition
method.h:48
HTTP_CHECKOUT
@ HTTP_CHECKOUT
CHECKOUT.
Definition
method.h:51
HTTP_MOVE
@ HTTP_MOVE
MOVE.
Definition
method.h:40
HTTP_COPY
@ HTTP_COPY
COPY.
Definition
method.h:37
HTTP_PATCH
@ HTTP_PATCH
PATCH.
Definition
method.h:57
HTTP_TRACE
@ HTTP_TRACE
TRACE.
Definition
method.h:36
zephyr
net
http
method.h
Generated on Sat Nov 16 2024 04:55:04 for Zephyr API Documentation by
1.12.0