summaryrefslogtreecommitdiff
path: root/lib/http
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-06-29 10:38:14 -0700
committerOri Bernstein <ori@eigenstate.org>2016-06-29 10:38:14 -0700
commitfd3d8637eec28cba6a0fe52811e39b0de5ec977e (patch)
treefa7dc2adf1f6ac0a09734dd648657dd2cdee0201 /lib/http
parenta603374dcbe55fff12484acdc6ae3f2736280d1e (diff)
downloadmc-fd3d8637eec28cba6a0fe52811e39b0de5ec977e.tar.gz
Rename verbs to clients.
Diffstat (limited to 'lib/http')
-rw-r--r--lib/http/bld.sub4
-rw-r--r--lib/http/client.myr (renamed from lib/http/verbs.myr)2
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/http/bld.sub b/lib/http/bld.sub
index 79896b2..3cd579a 100644
--- a/lib/http/bld.sub
+++ b/lib/http/bld.sub
@@ -8,7 +8,9 @@ lib http =
parse.myr
types.myr
url.myr
- verbs.myr
+ client.myr
+ server.myr
+ router.myr
session.myr
;;
diff --git a/lib/http/verbs.myr b/lib/http/client.myr
index 71b6ebd..adb9ee3 100644
--- a/lib/http/verbs.myr
+++ b/lib/http/client.myr
@@ -15,7 +15,7 @@ pkg http =
const options : (s : session#, r : byte[:] -> std.result(resp#, err))
const trace : (s : session#, r : byte[:] -> std.result(resp#, err))
- /* request versions */
+ /* request based versions */
const getreq : (s : session#, r : req# -> std.result(resp#, err))
const headreq : (s : session#, r : req# -> std.result(resp#, err))
const putreq : (s : session#, r : req#, data : byte[:] -> std.result(resp#, err))