struct ClientOptions connections is required; every other zero field takes its documented default.
Fields
connections | Int | Connections open at once; zero fails with INVALID_ARGUMENT. |
|---|---|---|
pipelined_calls | Int | Calls one connection may carry at once; zero means one. |
calls | Int | Calls admitted at once, unretrieved completions included; zero means connections times pipelined_calls. |
connect_timeout_microseconds | Int | Time budget for establishing a connection; zero means 5 seconds. |
call_timeout_microseconds | Int | Time budget for a full exchange, including queueing and redirects; zero means 30 seconds. |
noise_private_key | Optional[SIMD[.uint8, 32]] | The client identity for Noise handshakes. |
peer_authorizer | PeerAuthorizer | Vets each server's authenticated static key; required for Noise XX calls. |
backend | Backend | The requested I/O backend. |
cpu_class | CPUClass | A ceiling on the CPU class; UNKNOWN takes what the CPU offers. |
log | Log | Where log lines go; the default keeps the client silent. |
max_response_bytes | Int | The largest response a call buffers; zero takes the largest socket receive buffer. |
Conforms to
Copyable, Deinitable, Movable