mod_http library
Support for doing something awesome.
More dartdocs go here.
Classes
- CompressionOptions
- Options controlling compression in a WebSocket. [...]
- ContentType
- Representation of a content type. An instance of ContentType is immutable.
- Cookie
- Representation of a cookie. For cookies received by the server as Cookie header values only name and value properties will be set. When building a cookie for the 'set-cookie' header in the server and when receiving cookies in the client as 'set-cookie' headers all fields can be used.
- DetachedSocket
-
When detaching a socket from either the
HttpServer
or theHttpClient
due to a HTTP connection upgrade there might be unparsed data already read from the socket. This unparsed data together with the detached socket is returned in an instance of this class. - HeaderValue
- Representation of a header value in the form: [...]
- HttpClient
- A client that receives content, such as web pages, from a server using the HTTP protocol. [...]
- HttpClientBasicCredentials
- Represents credentials for basic authentication.
- HttpClientCredentials
- HttpClientDigestCredentials
- Represents credentials for digest authentication. Digest authentication is only supported for servers using the MD5 algorithm and quality of protection (qop) of either "none" or "auth".
- HttpClientRequest
- HTTP request for a client connection. [...]
- HttpClientResponse
- HTTP response for a client connection. [...]
- HttpConnectionInfo
- Information about an HttpRequest, HttpResponse, HttpClientRequest, or HttpClientResponse connection.
- HttpConnectionsInfo
- Summary statistics about an HttpServers current socket connections.
- HttpDate
- Utility functions for working with dates with HTTP specific date formats.
- HttpHeaders
- Headers for HTTP requests and responses. [...]
- HttpOverrides
- This class facilitates overriding HttpClient with a mock implementation. It should be extended by another class in client code with overrides that construct a mock implementation. The implementation in this base class defaults to the actual HttpClient implementation. For example: [...]
- HttpRequest
- A server-side object that contains the content of and information about an HTTP request. [...]
- HttpResponse
- An HTTP response, which returns the headers and data from the server to the client in response to an HTTP request. [...]
- HttpServer
- A server that delivers content, such as web pages, using the HTTP protocol. [...]
- HttpSession
- RedirectInfo
- Redirect information.
- WebSocket
- A two-way HTTP communication object for client or server applications. [...]
- WebSocketStatus
- WebSocket status codes used when closing a WebSocket connection.
- WebSocketTransformer
- The WebSocketTransformer provides the ability to upgrade a HttpRequest to a WebSocket connection. It supports both upgrading a single HttpRequest and upgrading a stream of HttpRequests. [...]
Enums
- HttpClientResponseCompressionState
- Enum that specifies the compression state of the byte stream of an HttpClientResponse. [...]
Typedefs
-
BadCertificateCallback(
X509Certificate cr, String host, int port) → bool