Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Protocols (0.16 sec)

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

            toHttpUrl()
          } catch (_: IllegalArgumentException) {
            null
          }
        }
    
        /**
         * Returns an [HttpUrl] for this if its protocol is `http` or `https`, or null if it has any
         * other protocol.
         */
        @JvmStatic
        @JvmName("get")
        fun URL.toHttpUrlOrNull(): HttpUrl? = toString().toHttpUrlOrNull()
    
        @JvmStatic
        @JvmName("get")
    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