1 | // Type definitions for methods 1.1
|
2 | // Project: https://github.com/jshttp/methods
|
3 | // Definitions by: Carlos Precioso <https://github.com/cprecioso>
|
4 | // Michel Bitter <https://github.com/michelbitter>
|
5 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
6 |
|
7 | type Method =
|
8 | | 'ACL'
|
9 | | 'BIND'
|
10 | | 'CHECKOUT'
|
11 | | 'CONNECT'
|
12 | | 'COPY'
|
13 | | 'DELETE'
|
14 | | 'GET'
|
15 | | 'HEAD'
|
16 | | 'LINK'
|
17 | | 'LOCK'
|
18 | | 'M-SEARCH'
|
19 | | 'MERGE'
|
20 | | 'MKACTIVITY'
|
21 | | 'MKCALENDAR'
|
22 | | 'MKCOL'
|
23 | | 'MOVE'
|
24 | | 'NOTIFY'
|
25 | | 'OPTIONS'
|
26 | | 'PATCH'
|
27 | | 'POST'
|
28 | | 'PROPFIND'
|
29 | | 'PROPPATCH'
|
30 | | 'PURGE'
|
31 | | 'PUT'
|
32 | | 'REBIND'
|
33 | | 'REPORT'
|
34 | | 'SEARCH'
|
35 | | 'SOURCE'
|
36 | | 'SUBSCRIBE'
|
37 | | 'TRACE'
|
38 | | 'UNBIND'
|
39 | | 'UNLINK'
|
40 | | 'UNLOCK'
|
41 | | 'UNSUBSCRIBE'
|
42 | | 'acl'
|
43 | | 'bind'
|
44 | | 'checkout'
|
45 | | 'connect'
|
46 | | 'copy'
|
47 | | 'delete'
|
48 | | 'get'
|
49 | | 'head'
|
50 | | 'link'
|
51 | | 'lock'
|
52 | | 'm-search'
|
53 | | 'merge'
|
54 | | 'mkactivity'
|
55 | | 'mkcalendar'
|
56 | | 'mkcol'
|
57 | | 'move'
|
58 | | 'notify'
|
59 | | 'options'
|
60 | | 'patch'
|
61 | | 'post'
|
62 | | 'propfind'
|
63 | | 'proppatch'
|
64 | | 'purge'
|
65 | | 'put'
|
66 | | 'rebind'
|
67 | | 'report'
|
68 | | 'search'
|
69 | | 'source'
|
70 | | 'subscribe'
|
71 | | 'trace'
|
72 | | 'unbind'
|
73 | | 'unlink'
|
74 | | 'unlock'
|
75 | | 'unsubscribe';
|
76 |
|
77 | declare const methods: Method[];
|
78 | export = methods;
|