The library documents itself · Concurrency & distribution
stzHttpClient
45 own methods · 0 forms written with extensions, listed under their method · Also inherits from stzNetwork (7)
the source: base/network/stzHttpClient.ring(opens in a new tab) · All classes · The area reference: Concurrency & distribution
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
SetUserAgent
stzNetwork.init handles its own fields. ── headers / cookies ────────────────────────────────────no extension
SetHeader
(no comment in the source: the name reads as a sentence) set headerno extension
SetHeaders
(no comment in the source: the name reads as a sentence) set headersno extension
SetCookie
(no comment in the source: the name reads as a sentence) set cookieno extension
SetCookies
(no comment in the source: the name reads as a sentence) set cookiesno extension
SetTraceParent
── distributed tracing (W3C Trace Context) ────────────── Inject a `traceparent` header so downstream services can correlate this request into a single distributed trace (Tier 2 observability).no extension
StartTrace
Generate a fresh sampled trace and attach it; returns the header value so the caller can record / correlate it.no extension
SetTimeout
── timeouts (engine-backed) ───────────────────────────── These now drive the custom HTTP/1.1 client's per-socket and connect deadlines via the engine, replacing the slice-2 no-ops.no extension
SetConnectTimeout
(no comment in the source: the name reads as a sentence) set connect timeoutno extension
SetRequestTimeout
(no comment in the source: the name reads as a sentence) set request timeoutno extension
ConnectTimeout
(no comment in the source: the name reads as a sentence) connect timeoutno extension
RequestTimeout
(no comment in the source: the name reads as a sentence) request timeoutno extension
SetDefaultTimeouts
Set the process-wide engine defaults (connect / request / idle in ms). 0 leaves a field unchanged. Affects every client.no extension
Shutdown
── connection pool ────────────────────────────────────── Graceful shutdown -- release pooled (idle keep-alive) connections. Returns the number of idle sockets closed. In-flight synchronous requests are unaffected. (The thread pool's drain is the separate StzEnginePoolDrain primitive.)no extension
PoolStats
(no comment in the source: the name reads as a sentence) pool statsno extension
FollowRedirects
── settings (all engine-backed via libcurl) ─────────────no extension
VerifySSL
(no comment in the source: the name reads as a sentence) verify sslno extension
SetProxy
(no comment in the source: the name reads as a sentence) set proxyno extension
SetProxyAuth
Proxy credentials, "user:pass".no extension
SetAuth
HTTP auth (Basic by default; libcurl base64-encodes + handles the challenge). Use SetAuthType for digest/ntlm/negotiate/any.no extension
SetAuthType
(no comment in the source: the name reads as a sentence) set auth typeno extension
SetBearer
Bearer / OAuth2 token auth.no extension
SetClientCert
mTLS: client certificate + private key (file paths, PEM).no extension
SetCookieFile
Persistent cookies: read from / write to a Netscape cookie file.no extension
SetCookieJar
(no comment in the source: the name reads as a sentence) set cookie jarno extension
AcceptEncoding
Enable response decompression. "" lets libcurl advertise every encoding it was built with (gzip/deflate when zlib is linked).no extension
AcceptGzip
Advertise every encoding libcurl was built with (gzip/deflate when zlib is linked); libcurl auto-decompresses the response.no extension
Get_
── verbs ────────────────────────────────────────────────no extension
Post
(no comment in the source: the name reads as a sentence) postno extension
Put_
(no comment in the source: the name reads as a sentence) put_no extension
Delete
(no comment in the source: the name reads as a sentence) deleteno extension
Head
(no comment in the source: the name reads as a sentence) headno extension
Options
(no comment in the source: the name reads as a sentence) optionsno extension
PerformRequest
(no comment in the source: the name reads as a sentence) perform requestno extension
Response
── response accessors ───────────────────────────────────no extension
ResponseCode
(no comment in the source: the name reads as a sentence) response codeno extension
ResponseBody
(no comment in the source: the name reads as a sentence) response bodyno extension
ResponseHeaders
(no comment in the source: the name reads as a sentence) response headersno extension
ResponseTime
(no comment in the source: the name reads as a sentence) response timeno extension
PostForm
── form helpers ─────────────────────────────────────────no extension
PostJson
(no comment in the source: the name reads as a sentence) post jsonno extension
DownloadFile
── files ────────────────────────────────────────────────no extension
GetMany
── batched GET ───────────────────────────────────────── GetMany uses the engine's threaded parallel-GET path (one std.Thread per URL, blocking client.fetch in each). The engine joins all threads before returning, so from Haro's perspective the call is synchronous; the win is wall-clock, not concurrency model. Up to 32 URLs per batch.no extension
GetManySequential
(no comment in the source: the name reads as a sentence) get many sequentialno extension

