diff options
Diffstat (limited to 'stdlib/source/library/lux/world/net/http/route.lux')
-rw-r--r-- | stdlib/source/library/lux/world/net/http/route.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/world/net/http/route.lux b/stdlib/source/library/lux/world/net/http/route.lux index 0dd3f6c5b..15f89bb99 100644 --- a/stdlib/source/library/lux/world/net/http/route.lux +++ b/stdlib/source/library/lux/world/net/http/route.lux @@ -15,7 +15,7 @@ ["#." response]]) (template [<scheme> <name>] - [(def: #export (<name> server) + [(def: .public (<name> server) (-> Server Server) (function (_ (^@ request [identification protocol resource message])) (case (get@ #//.scheme protocol) @@ -30,7 +30,7 @@ ) (template [<method> <name>] - [(def: #export (<name> server) + [(def: .public (<name> server) (-> Server Server) (function (_ (^@ request [identification protocol resource message])) (case (get@ #//.method resource) @@ -51,7 +51,7 @@ [#//.Trace trace] ) -(def: #export (uri path server) +(def: .public (uri path server) (-> URI Server Server) (function (_ [identification protocol resource message]) (if (text.starts_with? path (get@ #//.uri resource)) @@ -63,7 +63,7 @@ message]) (async.resolved //response.not_found)))) -(def: #export (or primary alternative) +(def: .public (or primary alternative) (-> Server Server Server) (function (_ request) (do async.monad |