RouteWithBody class

Implemented types
Implementers

Constructors

RouteWithBody()

Properties

getAfter → List<After>
final, inherited
getAuthHeaders → Map<String, String>
final, inherited
getBefore → List<Before>
final, inherited
getClient BaseClient
read / write, inherited
getCookies → List<ClientCookie>
final, inherited
getHeaders → Map<String, String>
final, inherited
getQuery → Map<String, dynamic>
final, inherited
getUrl → String
URL
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
metadataMap → Map<String, dynamic>
final, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getBody() → dynamic
after(After interceptor) RouteBase
inherited
authHeader(String scheme, String credentials) RouteBase
inherited
authToken(String credentials) RouteBase
inherited
basicAuth(String username, String password) RouteBase
inherited
before(Before interceptor) RouteBase
inherited
charset(String charset) RouteBase
inherited
contentType(String mimeType, String charset) RouteBase
inherited
inherited
cookies(List<ClientCookie> cookie) RouteBase
inherited
Add headers
inherited
headers(Map<String, String> values) RouteBase
Add headers
inherited
hookHeader(String key, ValueCallback<String> getter) RouteBase
inherited
http(String origin, [String path]) RouteBase
inherited
https(String origin, [String path]) RouteBase
inherited
metadata(Map<String, dynamic> value) RouteBase
inherited
mimeType(String mimeType) RouteBase
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
origin(String origin, [String path]) RouteBase
Set origin of the URL
inherited
path(String path) RouteBase
Append path segments to the URL
inherited
pathParams(String name, dynamic value) RouteBase
inherited
queries(Map<String, dynamic> value) RouteBase
Add query parameters
inherited
query(String key, dynamic value) RouteBase
Add query parameters
inherited
toString() → String
Returns a string representation of this object.
inherited
url(String value) RouteBase
inherited
withClient(BaseClient client) RouteBase
Set the client used to make HTTP requests
inherited

Operators

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