http library

Classes

HttpClient
HTTP client integrating io.HttpClient and html.HttpRequest.
HttpClientImpl
package:http based implementation of HttpClient.
HttpRequest
Asynchronous HTTP request
HttpResponse
HTTP response integrating io.HttpClient and html.HttpRequest.
SSHTunneledBaseClient
http.BaseClient running over SSHTunneledSocketImpl.
TestHttpClient
Shim HttpClient for testing
UserAgentBaseClient
http.BaseClient with userAgent header. Reference: https://github.com/dart-lang/http/blob/master/README.md

Functions

addBasicAuthenticationHeader(Map<String, String> headers, String username, String password) Map<String, String>
In basic HTTP authentication, a request contains a header field in the form of Authorization: Basic , where credentials is the base64 encoding of id and password joined by a single colon. https://en.wikipedia.org/wiki/Basic_access_authentication
tunneledHttpRequest(Uri uri, String method, SSHTunneledSocketImpl socket, {Map<String, String> requestHeaders, Uint8List body, StringCallback debugPrint, bool persistentConnection = true}) Future<HttpResponse>
Makes HTTP request over SSHTunneledSocketImpl carried by client.

Typedefs

HttpClientFactory = Client Function()