streamCallOptions property

CallOptions get streamCallOptions
inherited

Creates CallOptions for streaming RPCs.

Identical to callOptions but without a default deadline, so long-lived server streams (e.g. eventStream) are not cancelled after the per-RPC timeout. Callers may still merge in an explicit timeout when desired.

Implementation

CallOptions get streamCallOptions {
  return CallOptions(metadata: _buildMetadata());
}