VoltronHttpRequest class

Constructors

VoltronHttpRequest({String method = 'GET', required String url, String body = '', dynamic connectTimeout = kDefaultTimeoutMs, dynamic receiveTimeout = kDefaultTimeoutMs, dynamic useCaches = true, dynamic headerMap = const {}})

Properties

body String
final
connectTimeout int
getter/setter pair
followRedirects bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerMap Map<String, Object>
getter/setter pair
method String
final
receiveTimeout int
getter/setter pair
requestId String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeout int
getter/setter pair
url String
final
useCaches bool
getter/setter pair

Methods

addHeader(String name, Object value) → void
getHeaders() Map<String, Object>
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

Constants

kDefaultTimeoutMs → const int