nhttp library
Classes
- MultipartFile
- A file to be uploaded as part of a MultipartRequest.
- MultipartRequest
-
A
multipart/form-data
request. - Request
- An HTTP request where the entire request body is known in advance.
- Response
- An HTTP response where the entire response body is known in advance.
- StreamedResponse
- An HTTP response where the response body is received asynchronously after the headers have been received.
Functions
-
delete(
String url, {Map< String, String> ? headers, int? timeOut}) → Future<Response> -
get(
String url, {Map< String, String> ? headers, int? timeOut}) → Future<Response> -
patch(
String url, {Map< String, String> ? headers, Object? body, int? timeOut}) → Future<Response> -
post(
String url, {Map< String, String> ? headers, Object? body, int? timeOut}) → Future<Response> -
put(
String url, {Map< String, String> ? headers, Object? body, int? timeOut}) → Future<Response>