summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/monaco-io/request/const.go
diff options
context:
space:
mode:
authorGary Kim <gary@garykim.dev>2020-08-30 07:49:26 -0400
committerGitHub <noreply@github.com>2020-08-30 13:49:26 +0200
commita0741d99b80d7da1c063853382756b3a9689f6a7 (patch)
tree86b6954d34558fe3a753284dea52928a031edc7a /vendor/github.com/monaco-io/request/const.go
parentc63f08c8113598149f312bffd3fbdf1970660639 (diff)
downloadmatterbridge-msglm-a0741d99b80d7da1c063853382756b3a9689f6a7.tar.gz
matterbridge-msglm-a0741d99b80d7da1c063853382756b3a9689f6a7.tar.bz2
matterbridge-msglm-a0741d99b80d7da1c063853382756b3a9689f6a7.zip
Add TLSConfig to nctalk (#1195)
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'vendor/github.com/monaco-io/request/const.go')
-rw-r--r--vendor/github.com/monaco-io/request/const.go46
1 files changed, 46 insertions, 0 deletions
diff --git a/vendor/github.com/monaco-io/request/const.go b/vendor/github.com/monaco-io/request/const.go
new file mode 100644
index 00000000..d7b108fa
--- /dev/null
+++ b/vendor/github.com/monaco-io/request/const.go
@@ -0,0 +1,46 @@
+package request
+
+const (
+ // ApplicationJSON application/json
+ ApplicationJSON ContentType = "application/json"
+
+ // ApplicationXWwwFormURLEncoded application/x-www-form-urlencoded
+ ApplicationXWwwFormURLEncoded ContentType = "application/x-www-form-urlencoded"
+
+ // MultipartFormData multipart/form-data
+ MultipartFormData ContentType = "multipart/form-data"
+)
+
+const (
+ // OPTIONS http options
+ OPTIONS = "OPTIONS"
+
+ // GET http get
+ GET = "GET"
+
+ // HEAD http head
+ HEAD = "HEAD"
+
+ // POST http post
+ POST = "POST"
+
+ // PUT http put
+ PUT = "PUT"
+
+ // DELETE http delete
+ DELETE = "DELETE"
+
+ // TRACE http trace
+ TRACE = "TRACE"
+
+ // CONNECT http connect
+ CONNECT = "CONNECT"
+
+ // PATCH http patch
+ PATCH = "PATCH"
+)
+
+const (
+ emptyString = ""
+ contentType = "Content-Type"
+)