Liking cljdoc? Tell your friends :D

net.http.request


auth-mapclj

(auth-map {:keys [user password]})
source

data->methodclj

(data->method m)

Get appropriate HttpMethod from a number of possible inputs. Defaults to GET when nil, translate known keywords and strings, or pass a HttpMethod through.

Throws on other values.

Get appropriate HttpMethod from a number of possible inputs.
Defaults to GET when nil, translate known keywords and strings,
or pass a HttpMethod through.

Throws on other values.
sourceraw docstring

data->requestclj

(data->request {:keys [uri host]}
               {:keys [headers request-method version query auth]})

Produce a valid request from a

Produce a valid request from a 
sourceraw docstring

data->versionclj

(data->version v)

Get appropriate HttpVersion from a number of possible inputs. Defaults to HTTP/1.1 when nil, translate known keywords and strings or pass an HttpVersion through.

Throws on other values.

Get appropriate HttpVersion from a number of possible inputs.
Defaults to HTTP/1.1 when nil, translate known keywords and
strings or pass an HttpVersion through.

Throws on other values.
sourceraw docstring

http-methodsclj

Keyword HTTP methods

Keyword HTTP methods
sourceraw docstring

http-versionsclj

Keyword HTTP versions

Keyword HTTP versions
sourceraw docstring

string->methodclj

(string->method m)
source

string->versionclj

(string->version s)

When possible, get appropriate HttpVersion from a string. Throws when impossible.

When possible, get appropriate HttpVersion from a string.
Throws when impossible.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close