OkHttpClient
now receives anOkHttpClientConfiguration
to configure the client on a per-call basis.OkHttpClient
supports setting four types of timeouts:connectTimeout
,readTimeout
,writeTimeout
, andcallTimeout
, using theOkHttpClientConfiguration
.
- Implementation of
BaseClient
andsend()
method usingenqueue()
API ok_http
can now send asynchronous requests and stream response bodies.- Add DevTools Network View support.
- WebSockets support is now available in the
ok_http
package. Wraps around the OkHttp WebSocket API.