Skip to contents

All functions

zu_body_json() zu_body_form() zu_body_raw() zu_body_file() zu_body_stream()
Set the request body
zu_body_rewindable()
Whether a request's body can be replayed
zu_cassette_interactions() zu_cassette_clear()
Inspect or delete a cassette
zu_cassette_transport()
Record and replay HTTP interactions
zu_client()
Create a reusable client
zu_client_update()
Derive a client from another
zu_condition()
Construct a zuhttp condition
zu_default_client()
The package-managed default client
zu_headers()
Add headers
zu_hooks()
Register lifecycle hooks
zu_info()
What this build of zuhttp can do
zu_get() zu_head() zu_post() zu_put() zu_patch() zu_delete()
Perform a request in one call
zu_perform()
Perform a request
zu_pool()
Connection pool settings
zu_pool_reset()
Close a client's idle connections
zu_pool_stats()
Connection reuse counters
zu_query()
Add query parameters
zu_redact_headers()
Additional header names to redact
zu_redact_params()
Additional query parameter names to redact
zu_redact_url()
Redact credentials from a URL
zu_req_callback()
Stream the response body to a callback
zu_req_path()
Stream the response body to a file
zu_req_timeout() zu_req_redirects() zu_req_check()
Set request policy
zu_req_replay_safe()
Whether a request is safe to replay
zu_req_retry()
Per-request retry settings
zu_req_trace()
Record a §35.3 event trace for this request
zu_request()
Build a request without performing it
zu_resp_status() zu_resp_path() zu_resp_ok() zu_resp_headers() zu_resp_header() zu_resp_url() zu_resp_method() zu_resp_timings()
Response accessors
zu_resp_check()
Raise a condition for an error status
zu_resp_connection()
Connection metadata
zu_resp_json() zu_resp_xml() zu_resp_html()
The response body as parsed JSON, XML or HTML
zu_resp_raw()
The response body, decoded
zu_resp_read() zu_resp_abort() zu_resp_trailers()
Read a streamed response body, its trailers, or stop reading
zu_resp_text()
The response body as text
zu_resp_trace()
The event trace for a request
zu_response()
Construct a response
zu_retry()
Retry policy
zu_set_default_client()
Replace the default client
zu_set_json_backend()
Choose the JSON implementation
zu_stub()
Match a request and return a canned response
zu_tls()
TLS and certificate trust settings
zu_tls_backend()
The TLS backend this build was linked against
zu_mock_transport()
Transports
zu_verbose()
Print a trace of each request
zuhttp_fork
HTTPS in a forked process
zuhttp_tls
TLS backends and their limits