Liking cljdoc? Tell your friends :D

puppetlabs.http.client.sync


create-clientclj

(create-client opts)

Inputs: [opts :- common/ClientOptions] Returns: (schema/protocol common/HTTPClient)

Inputs: [opts :- common/ClientOptions]
Returns: (schema/protocol common/HTTPClient)
sourceraw docstring

deleteclj

(delete url)
(delete url opts)

Issue a synchronous HTTP DELETE request. This will raise an exception if an error is returned.

Issue a synchronous HTTP DELETE request. This will raise an exception if an
error is returned.
sourceraw docstring

extract-client-optsclj

(extract-client-opts opts)

Inputs: [opts :- common/RawUserRequestClientOptions] Returns: common/ClientOptions

Inputs: [opts :- common/RawUserRequestClientOptions]
Returns: common/ClientOptions
sourceraw docstring

extract-request-optsclj

(extract-request-opts opts)

Inputs: [opts :- common/RawUserRequestClientOptions] Returns: common/RawUserRequestOptions

Inputs: [opts :- common/RawUserRequestClientOptions]
Returns: common/RawUserRequestOptions
sourceraw docstring

getclj

(get url)
(get url opts)

Issue a synchronous HTTP GET request. This will raise an exception if an error is returned.

Issue a synchronous HTTP GET request. This will raise an exception if an
error is returned.
sourceraw docstring

(head url)
(head url opts)

Issue a synchronous HTTP head request. This will raise an exception if an error is returned.

Issue a synchronous HTTP head request. This will raise an exception if an
error is returned.
sourceraw docstring

optionsclj

(options url)
(options url opts)

Issue a synchronous HTTP OPTIONS request. This will raise an exception if an error is returned.

Issue a synchronous HTTP OPTIONS request. This will raise an exception if an
error is returned.
sourceraw docstring

patchclj

(patch url)
(patch url opts)

Issue a synchronous HTTP PATCH request. This will raise an exception if an error is returned.

Issue a synchronous HTTP PATCH request. This will raise an exception if an
error is returned.
sourceraw docstring

postclj

(post url)
(post url opts)

Issue a synchronous HTTP POST request. This will raise an exception if an error is returned.

Issue a synchronous HTTP POST request. This will raise an exception if an
error is returned.
sourceraw docstring

putclj

(put url)
(put url opts)

Issue a synchronous HTTP PUT request. This will raise an exception if an error is returned.

Issue a synchronous HTTP PUT request. This will raise an exception if an
error is returned.
sourceraw docstring

requestclj

(request req)
source

request-with-clientclj

(request-with-client req client)
(request-with-client req client metric-registry metric-namespace)
(request-with-client req
                     client
                     metric-registry
                     metric-namespace
                     enable-url-metrics?)
source

traceclj

(trace url)
(trace url opts)

Issue a synchronous HTTP TRACE request. This will raise an exception if an error is returned.

Issue a synchronous HTTP TRACE request. This will raise an exception if an
error is returned.
sourceraw docstring

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

× close