fake_http library

Classes

AssetBundleCache
Authenticator
Cache
CacheControl
CacheControlBuilder
CacheRequest
Chain
ContentType
Representation of a content type. An instance of ContentType is immutable.
Representation of a cookie. For cookies received by the server as Cookie header values only name and value fields 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.
CookieJar
CookiePersistor
DiskCache
Editor
EncodingUtil
FormBody
FormBodyBuilder
Headers
HeadersBuilder
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".
HttpDate
Utility functions for working with dates with HTTP specific date formats.
HttpHeaders
Headers for HTTP requests and responses. [...]
HttpLoggingInterceptor
网络层拦截器
HttpMethod
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: [...]
HttpStatus
HTTP status codes. Exported in dart:io and dart:html.
HttpUrl
HttpUrlBuilder
Interceptor
Logger
LoggerFactory
MediaType
MultipartBody
MultipartBodyBuilder
OkHttpClient
OkHttpClientBuilder
OkHttpNetworkImage
OptimizedRequestInterceptor
应用层拦截器 [...]
OptimizedResponseInterceptor
网络层拦截器 优化缓存 [...]
Part
PersistentCookie
PersistentCookieJar
ProgressRequestInterceptor
网络层拦截器
ProgressResponseInterceptor
网络层拦截器
ProxyAuthenticator
RawCache
Request
RequestBody
RequestBuilder
Response
ResponseBody
ResponseBuilder
Snapshot
UserAgentInterceptor
应用层拦截器
Util
Version

Enums

LoggerLevel

Typedefs

KeyExtractor(HttpUrl url) → String

Exceptions / Errors

HttpException
RedirectException