Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for minWebSocketMessageToCompress (0.14 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        val builder = OkHttpClient.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.minWebSocketMessageToCompress(-1024)
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("minWebSocketMessageToCompress must be positive: -1024")
        }
      }
    
      companion object {
        private val DEFAULT_PROXY_SELECTOR = ProxySelector.getDefault()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      /**
       * Minimum outbound web socket message size (in bytes) that will be compressed.
       * The default is 1024 bytes.
       */
      @get:JvmName("minWebSocketMessageToCompress")
      val minWebSocketMessageToCompress: Long = builder.minWebSocketMessageToCompress
    
      internal val routeDatabase: RouteDatabase = builder.routeDatabase ?: RouteDatabase()
      internal val taskRunner: TaskRunner = builder.taskRunner ?: TaskRunner.INSTANCE
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

        that OkHttp incorrectly rejected valid certificates resulting in a failure to connect; at no
        point were invalid certificates accepted.
     *  New: `OkHttpClient.Builder.minWebSocketMessageToCompress()` configures a threshold for
        compressing outbound web socket messages. Configure this with 0L to always compress outbound
        messages and `Long.MAX_VALUE` to never compress outbound messages. The default is 1024L which
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    	public final fun followSslRedirects ()Z
    	public final fun hostnameVerifier ()Ljavax/net/ssl/HostnameVerifier;
    	public final fun interceptors ()Ljava/util/List;
    	public final fun minWebSocketMessageToCompress ()J
    	public final fun networkInterceptors ()Ljava/util/List;
    	public fun newBuilder ()Lokhttp3/OkHttpClient$Builder;
    	public fun newCall (Lokhttp3/Request;)Lokhttp3/Call;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
Back to top