Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for positive (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         *
         * 1024 by default.
         */
        fun minWebSocketMessageToCompress(bytes: Long) =
          apply {
            require(bytes >= 0) {
              "minWebSocketMessageToCompress must be positive: $bytes"
            }
    
            this.minWebSocketMessageToCompress = bytes
          }
    
        fun build(): OkHttpClient = OkHttpClient(this)
      }
    
      companion object {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * `java.net.URL` it's possible to create an awkward URL like `http:/` with scheme and path but no
     * hostname. Building APIs that consume such malformed values is difficult!
     *
     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
     * [IllegalArgumentException] on invalid input or [toHttpUrlOrNull] returns null if the input is an
     * invalid URL. You can even be explicit about whether each component has been encoded already.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
Back to top