Skip to content

Commit

Permalink
remove default indications in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anikate-De committed Aug 15, 2024
1 parent 55702bf commit 22aec27
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions pkgs/ok_http/lib/src/ok_http_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,26 @@ class OkHttpClientConfiguration {
///
/// If a call does not finish within the specified time, it will throw a
/// [ClientException] with the message "java.io.InterruptedIOException...".
/// Default is set to [Duration.zero], which indicates no timeout.
///
/// [Duration.zero] indicates no timeout.
///
/// See [OkHttpClient.Builder.callTimeout](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/call-timeout.html).
final Duration callTimeout;

/// The maximum duration to wait while connecting a TCP Socket to the target
/// host.
///
/// Default is set to `10000` milliseconds.
///
/// See [OkHttpClient.Builder.connectTimeout](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/connect-timeout.html).
final Duration connectTimeout;

/// The maximum duration to wait for a TCP Socket and for individual read
/// IO operations.
///
/// Default is set to `10000` milliseconds.
///
/// See [OkHttpClient.Builder.readTimeout](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/read-timeout.html).
final Duration readTimeout;

/// The maximum duration to wait for individual write IO operations.
///
/// Default is set to `10000` milliseconds.
///
/// See [OkHttpClient.Builder.writeTimeout](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-ok-http-client/-builder/write-timeout.html).
final Duration writeTimeout;

Expand Down

0 comments on commit 22aec27

Please sign in to comment.