fake_okhttp library

Classes

Cache
CacheControl
CacheControlBuilder
CacheRequest
ContentType
A MIME/IANA media type used as the value of the HttpHeaders.contentTypeHeader header. [...]
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.
CookieJar
CookiePersistor
CurlInterceptor
网络层拦截器
DiskCache
Editor
EncodingUtil
Entry
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. [...]
HttpDate
Utility functions for working with dates with HTTP specific date formats.
HttpHeaders
Headers for HTTP requests and responses. [...]
HttpLoggingInterceptor
网络层拦截器
HttpMethod
HttpStatus
HTTP status codes. Exported in dart:io and dart:html.
HttpUrl
HttpUrlBuilder
Interceptor
MediaType
MultipartBody
MultipartBodyBuilder
OkHttpClient
OkHttpClientBuilder
OptimizedRequestInterceptor
应用层拦截器 [...]
OptimizedResponseInterceptor
网络层拦截器 优化缓存 [...]
Part
PersistentCookie
PersistentCookieJar
ProgressRequestInterceptor
网络层拦截器
ProgressResponseInterceptor
网络层拦截器
ProxySelector
RawCache
Request
RequestBody
buffer
RequestBuilder
Response
ResponseBody
ResponseBuilder
Snapshot
UserAgentInterceptor
应用层拦截器
Util
Version

Enums

LoggingLevel

Typedefs

KeyExtractor(HttpUrl url) String
ProgressListener(HttpUrl url, String method, int progressBytes, int totalBytes, bool isDone) → void
Proxy(Uri url) String

Exceptions / Errors

HttpException
RedirectException