arrowflight.call_options

Module for [CallOptions] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CallOptions self() nothrowReturns `this`, for use in `with` statements.
CallOptionsGidBuilder builder() static nothrowGet builder for [arrowflight.call_options.CallOptions] Returns: New builder object
double timeout() @property nothrowGet `timeout` property. Returns: An optional timeout for this call. Negative durations mean an implementation-defined default behavior will be used instead. This is the default value.
void timeout(double propval) @property nothrowSet `timeout` property. Params: propval = An optional timeout for this call. Negative durations mean an implementation-defined default behavior will be used instead. This is the default value.
void addHeader(string name, string value) nothrowAdd a header.
void clearHeaders() nothrowClear all headers.
void foreachHeader(arrowflight.types.HeaderFunc func) nothrowIterates over all headers in the options.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for arrowflight.call_options.CallOptions

Methods
T timeout(double propval) nothrowSet `timeout` property. Params: propval = An optional timeout for this call. Negative durations mean an implementation-defined default behavior will be used instead. This is the default value. Retu...
Methods
CallOptions build() nothrowCreate object from builder. Returns: New object