CallOptions class

Runtime options for an RPC.

Constructors

CallOptions({Map<String, String>? metadata, Duration? timeout, List<MetadataProvider>? providers, Codec? compression})
Creates a CallOptions object.
factory
CallOptions.from(Iterable<CallOptions> options)
factory

Properties

compression → Codec?
final
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, String>
final
metadataProviders → List<MetadataProvider>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration?
final

Methods

mergedWith(CallOptions? other) → CallOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited