WebCallOptions class

Runtime options for gRPC-web.

Inheritance

Constructors

WebCallOptions({Map<String, String>? metadata, Duration? timeout, List<MetadataProvider>? providers, bool? bypassCorsPreflight, bool? withCredentials})
Creates a WebCallOptions object.
factory

Properties

bypassCorsPreflight → bool?
Whether to eliminate the CORS preflight request.
final
compression → Codec?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, String>
finalinherited
metadataProviders → List<MetadataProvider>
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration?
finalinherited
withCredentials → bool?
Whether to send credentials along with the XHR.
final

Methods

mergedWith(CallOptions? other) → CallOptions
override
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