Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for OkHttp (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttp.kt

     * limitations under the License.
     */
    package okhttp3
    
    expect object OkHttp {
      /**
       * This is a string like "5.0.0", "5.0.0-alpha.762", or "5.3.0-SNAPSHOT" indicating the version of
       * OkHttp in the current runtime. Use this to include the OkHttp version in custom `User-Agent`
       * headers.
       *
       * Official OkHttp releases follow [semantic versioning][semver]. Versions with the `-SNAPSHOT`
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 20:33:04 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. okhttp/api/android/okhttp.api

    	public final fun body ()Lokio/BufferedSource;
    	public fun close ()V
    	public final fun headers ()Lokhttp3/Headers;
    }
    
    public final class okhttp3/OkHttp {
    	public static final field INSTANCE Lokhttp3/OkHttp;
    	public static final field VERSION Ljava/lang/String;
    	public final fun initialize (Landroid/content/Context;)V
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  3. okhttp/api/jvm/okhttp.api

    	public final fun body ()Lokio/BufferedSource;
    	public fun close ()V
    	public final fun headers ()Lokhttp3/Headers;
    }
    
    public final class okhttp3/OkHttp {
    	public static final field INSTANCE Lokhttp3/OkHttp;
    	public static final field VERSION Ljava/lang/String;
    }
    
    public class okhttp3/OkHttpClient : okhttp3/Call$Factory, okhttp3/WebSocket$Factory {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmMain/kotlin/okhttp3/OkHttp.jvm.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import okhttp3.internal.CONST_VERSION
    
    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 738 bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

     * limitations under the License.
     */
    package okhttp3
    
    import android.content.Context
    import okhttp3.internal.CONST_VERSION
    import okhttp3.internal.platform.PlatformRegistry
    
    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    
      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. okhttp-brotli/api/okhttp-brotli.api

    Yuri Schimke <******@****.***> 1753986872 +0000
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 18:34:32 UTC 2025
    - 428 bytes
    - Viewed (0)
  7. okhttp-sse/api/okhttp-sse.api

    木葉 Scarlet <******@****.***> 1756554467 +0800
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. okhttp-zstd/api/okhttp-zstd.api

    Yuri Schimke <******@****.***> 1753986872 +0000
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 18:34:32 UTC 2025
    - 259 bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

    class HeadersTest {
      @Test fun ofTrims() {
        val headers = headersOf("\t User-Agent \n", " \r OkHttp ")
        assertThat(headers.name(0)).isEqualTo("User-Agent")
        assertThat(headers.value(0)).isEqualTo("OkHttp")
      }
    
      @Test fun ofThrowsOddNumberOfHeaders() {
        assertFailsWith<IllegalArgumentException> {
          headersOf("User-Agent", "OkHttp", "Content-Length")
        }
      }
    
      @Test fun ofThrowsOnEmptyName() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

          // OkHttp does not reject invalid Punycode.
          "xn--a",
          "xn--a.ß",
          "xn--a.xn--zca",
          "xn--a-yoc",
          // OkHttp doesn't reject U+FFFD encoded in Punycode.
          "xn--zn7c.com",
          // OkHttp doesn't reject a U+200D. https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A.2
          "xn--1ug.example",
          // OkHttp doesn't implement CheckJoiners.
          "\u200D.example",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top