StreamHttpClientOptions class

Client options to modify StreamHttpClient

Constructors

StreamHttpClientOptions({Location? location, String version = 'v1.0', String protocol = 'https', String group = 'unspecified', Map<String, String> urlOverride = const <String, String>{}, Duration connectTimeout = const Duration(seconds: 10), Duration receiveTimeout = const Duration(seconds: 10)})
Builds a StreamHttpClientOptions.
const

Properties

connectTimeout Duration
Connect timeout.
final
group String
Track a source name for the api calls
final
hashCode int
The hash code for this object.
no setterinherited
location Location?
Data center to use with client
final
protocol String
Protocol to use with the api calls
final
receiveTimeout Duration
Received timeout.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urlOverride Map<String, String>
Map of url's to possibly override baseUrl
final
version String
Version to use with client
final

Methods

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