ClientOptions class
final
Properties
-
agentSegments
→ Iterable<AgentSegment>?
-
List of agent segments for the Algolia service.
final
-
connectTimeout
→ Duration
-
The maximum duration to wait for a connection to establish before timing out.
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
Default headers to include in each HTTP request.
final
-
hosts
→ Iterable<Host>?
-
The list of hosts that the client can connect to.
final
-
httpClientAdapter
→ HttpClientAdapter?
-
Custom
HttpClientAdapter
used to send HTTP requests.
Used only in case of using the default (dio) requester.
final
-
interceptors
→ Iterable<Interceptor>?
-
List of Dio interceptors.
Used only in case of using the default (dio) requester.
final
-
logger
→ dynamic Function(Object?)?
-
Custom logger for http operations.
final
-
readTimeout
→ Duration
-
The maximum duration to wait for a read operation to complete before timing out.
final
-
requester
→ Requester?
-
Custom requester used to send HTTP requests.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
writeTimeout
→ Duration
-
The maximum duration to wait for a write operation to complete before timing out.
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
override