Perform a query using the "DELETE" method.
The body of the request is extracted from request's toData method
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response
Perform a query using the "DELETE" method and using the JSON content type
The body of the request is extracted from request
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response
Downloads a file.
The query parameters are extracted from request's toJson
Eventual additional data is extracter from request's toData
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip the expectedStatusCode check when the response
is a cached one (HTTP code 304)
onReceiveProgress allows to know about the status of the download
deleteOnError deletes the file if an error occurs
Get bytes from an api.
The query parameters are extracted from request
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip the expectedStatusCode check when the response
is a cached one (HTTP code 304)
Perform a query using the "GET" method.
The query parameters are extracted from request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip the expectedStatusCode check when the response
is a cached one (HTTP code 304)
Perform a query using the "PATCH" method.
The body of the request is extracted from request's toData method
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response
Perform a query using the "PATCH" method and using the JSON content type
The body of the request is extracted from request
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response
Perform a query using the "POST" method.
The body of the request is extracted from request's toData method
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response
Perform a query using the "POST" method and using the JSON content type
The body of the request is extracted from request
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response
Perform a query using the "PUT" method.
The body of the request is extracted from request's toData method
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response
Perform a query using the "PUT" method and using the JSON content type
The body of the request is extracted from request
Optionally pass queryParameters for query parameters attached to the request
Use mapper to map the json response
Optionally you can use the orElse to map other kind of response
Optionally you can specify options to pass to Dio
cancelOnDispose lets you cancel the request if this service is disposed
expectedStatusCode to check the result of the request
set allowCache to true to skip che expectedStatusCode when response