GitHub

CallOptions

API reference for CallOptions.

How one call is made: extra headers, services context for the client middleware, discard (wait for the server's acknowledgement, not the result), and for streams the stream_buffer_size of the queue of chunks.

Attributes

AttributeTypeDescription
headersHeadersInput | None = None
contextContext[Any] | None = None
discardbool = False
stream_buffer_sizeint = 16

Functions

__init__

__init__(headers=None, context=None, discard=False, stream_buffer_size=16) -> None
ParameterTypeDescription
headersHeadersInput | None = None
contextContext[Any] | None = None
discardbool = False
stream_buffer_sizeint = 16