MFResourceRequest class
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
headers
→ Future<
Map> -
read-only
-
method
→ Future<
String> -
read-only
-
queryParameters
→ Future<
Map> -
read-only
-
queryString
→ Future<
String> -
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
timeout
→ Future<
int> -
read-only
-
url
→ Future<
String> -
read-only
Methods
-
addHeader(
{String headerName, String headerValue}) → Future< void> -
getHeaders(
{String headerName}) → Future< List> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
removeHeaders(
{String headerName}) → Future< void> -
send(
{Map json, Map formParameters, String requestBody}) → Future< MFResponse> -
setHeaders(
{Map headers}) → Future< void> -
setQueryParameters(
{String paramName, String paramValue}) → Future< void> -
setTimeout(
{int timeout}) → Future< void> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Constants
- BACKEND_SERVICE → const String
-
"backendServiceName"
- BODY → const String
-
"body"
- DELETE → const String
-
"DELETE"
- GET → const String
-
"GET"
- HEAD → const String
-
"HEAD"
- HEADER_NAME → const String
-
"headerName"
- HEADER_VALUE → const String
-
"headerValue"
- HEADERS → const String
-
"headers"
- JSON → const String
-
"json"
- METHOD → const String
-
"method"
- OPTIONS → const String
-
"OPTIONS"
- PARAM_NAME → const String
-
"paramName"
- PARAM_VALUE → const String
-
"paramValue"
- PARAMETERS → const String
-
"parameters"
- POST → const String
-
"POST"
- PUT → const String
-
"PUT"
- SCOPE → const String
-
"scope"
- TIMEOUT → const String
-
"timeout"
- TRACE → const String
-
"TRACE"
- URL → const String
-
"url"
- UUID → const String
-
"uuid"
- WLRESOURCEREQUEST_ADD_HEADER → const String
-
"addHeader"
- WLRESOURCEREQUEST_GET_ALL_HEADERS → const String
-
"getAllHeaders"
- WLRESOURCEREQUEST_GET_HEADERS → const String
-
"getHeaders"
- WLRESOURCEREQUEST_GET_METHOD → const String
-
"getMethod"
- WLRESOURCEREQUEST_GET_QUERY_PARAMS → const String
-
"getQueryParameters"
- WLRESOURCEREQUEST_GET_QUERY_STRING → const String
-
"getQueryString"
- WLRESOURCEREQUEST_GET_TIMEOUT → const String
-
"getTimeout"
- WLRESOURCEREQUEST_GET_URL → const String
-
"getUrl"
- WLRESOURCEREQUEST_INIT → const String
-
"init"
- WLRESOURCEREQUEST_REMOVE_HEADERS → const String
-
"removeHeaders"
- WLRESOURCEREQUEST_SEND → const String
-
"send"
- WLRESOURCEREQUEST_SEND_FORM_PARAMS → const String
-
"sendWithFormParameters"
- WLRESOURCEREQUEST_SEND_JSON → const String
-
"sendWithJSON"
- WLRESOURCEREQUEST_SEND_REQUEST_BODY → const String
-
"sendWithRequestBody"
- WLRESOURCEREQUEST_SET_HEADERS → const String
-
"setHeaders"
- WLRESOURCEREQUEST_SET_QUERY_PARAMS → const String
-
"setQueryParameters"
- WLRESOURCEREQUEST_SET_TIMEOUT → const String
-
"setTimeout"