Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toHttpUrl (0.19 sec)

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

          message = "moved to extension function",
          replaceWith =
            ReplaceWith(
              expression = "url.toHttpUrl()",
              imports = ["okhttp3.HttpUrl.Companion.toHttpUrl"],
            ),
          level = DeprecationLevel.ERROR,
        )
        fun get(url: String): HttpUrl = url.toHttpUrl()
    
        @JvmName("-deprecated_parse")
        @Deprecated(
          message = "moved to extension function",
    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)
  2. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        val hostNfd = "cafeĢ.com"
        val hostNfdPunycode = "xn--cafe-yvc.com"
        assertEquals(hostNfcPunycode, "http://$hostNfc/".toHttpUrl().host)
        assertEquals(hostNfcPunycode, "http://$hostNfcPunycode/".toHttpUrl().host)
        assertEquals(hostNfcPunycode, "http://$hostNfd/".toHttpUrl().host)
        if (isJvm) return // TODO: the rest of this test is broken on JVM platforms.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import okhttp3.Callback
    import okhttp3.Connection
    import okhttp3.Cookie
    import okhttp3.Credentials.basic
    import okhttp3.EventListener
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.Interceptor
    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
Back to top