dioxide library

Classes

Body
Use this annotation on a service method param when you want to directly control the request body of a POST/PUT request (instead of sending in as request parameters or form-style request body).
CacheControl
CancelRequest
DeleteRequest
Make a DELETE request
DioOptions
DioResponseType
Extra
Extras
Extra data that will be passed to dio's request, response, transformer and interceptors.
Field
Named pair for a form request.
FormUrlEncoded
Denotes that the request body will use form URL encoding. Fields should be declared as parameters and annotated with Field.
GetRequest
Make a GET request
Replaces the header with the value of its target.
Headers
Adds headers specified in the value map.
HeadRequest
Make a HEAD request
HttpMethod
A holder that includes all http methods which are supported by dioxide.
HttpResponse<T>
Method
MultiPart
Denotes that the request body is multi-part. Parts should be declared as parameters and annotated with Part.
NoBody
Use this annotation on a service method param when you want to indicate that no body should be generated for POST/PUT/DELETE requests.
OptionsRequest
Make a OPTIONS request
Part
Denotes a single part of a multi-part request. Part parameters may not be null.
PatchRequest
Make a PATCH request
Path
Named replacement in a URL path segment.
PostRequest
Make a POST request
PutRequest
Make a PUT request
Queries
Query parameter keys and values appended to the URL.
Query
Query parameter appended to the URL.
ReceiveProgress
RequestTimeout
RestApi
Define an API.
SendProgress

Enums

Parser
Define how to parse response json If you want to support more, PR is welcome

Extensions

FormDataExtension on FormData

Typedefs

DartSingleDeserializer = dynamic Function(String name, dynamic value)
DartSingleSerializer = dynamic Function(String name, dynamic data)