aboutsummaryrefslogtreecommitdiff
path: root/lib/http.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-29 10:01:35 -0700
committerAdelyn Breelove <[email protected]>2019-01-29 10:01:35 -0700
commit16cba5acd05093c66ab1432b40d40605c1098407 (patch)
tree28adffb77476315809fe133993c243c036447dc4 /lib/http.ml
parentRemove outdated docs (diff)
downloaddisml-16cba5acd05093c66ab1432b40d40605c1098407.tar.xz
disml-16cba5acd05093c66ab1432b40d40605c1098407.zip
Add client options
Diffstat (limited to 'lib/http.ml')
-rw-r--r--lib/http.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http.ml b/lib/http.ml
index 9a47c65..5e49843 100644
--- a/lib/http.ml
+++ b/lib/http.ml
@@ -23,6 +23,7 @@ module Base = struct
"User-Agent", "Dis.ml v0.1.0";
"Authorization", ("Bot " ^ !Client_options.token);
"Content-Type", "application/json";
+ "Connection", "keep-alive";
]
let process_response path ((resp:Response.t), body) =