diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/world/net/http/client.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/world/net/http/client.lux b/stdlib/source/library/lux/world/net/http/client.lux index fd79fc81b..8055dce6e 100644 --- a/stdlib/source/library/lux/world/net/http/client.lux +++ b/stdlib/source/library/lux/world/net/http/client.lux @@ -24,13 +24,13 @@ ["." // [// (#+ URL)]]) -(interface: #export (Client !) +(interface: .public (Client !) (: (-> //.Method URL //.Headers (Maybe Binary) (! (Try (//.Response !)))) request)) (template [<name> <method>] - [(def: #export (<name> url headers data client) + [(def: .public (<name> url headers data client) (All [!] (-> URL //.Headers (Maybe Binary) (Client !) (! (Try (//.Response !))))) @@ -170,7 +170,7 @@ #.None (in headers))))) - (implementation: #export default + (implementation: .public default (Client IO) (def: (request method url headers data) @@ -206,7 +206,7 @@ @.jvm (as_is <jvm>)} (as_is))) -(implementation: #export (async client) +(implementation: .public (async client) (-> (Client IO) (Client Async)) (def: (request method url headers data) @@ -222,6 +222,6 @@ (#try.Failure error) (#try.Failure error))))))) -(def: #export headers +(def: .public headers (-> (List [Text Text]) //.Headers) (dictionary.of_list text.hash)) |