(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.
(data->request {:keys [uri host]}
{:keys [headers request-method version query auth]})Produce a valid request from a
Produce a valid request from a
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |