Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 0_ (0.01 sec)

  1. buildSrc/src/main/kotlin/AlpnVersions.kt

    fun alpnBootVersion(): String? {
      val version = System.getProperty("alpn.boot.version")
    
      if (version != null) {
        return version
      }
    
      val javaVersion = System.getProperty("java.version")
      val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null
    
      return alpnBootVersionForPatchVersion(match.groupValues.first().toInt())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

    import okhttp3.RequestBody.Companion.toRequestBody
    
    class PostString {
      private val client = OkHttpClient()
    
      fun run() {
        val postBody =
          """
          |Releases
          |--------
          |
          | * _1.0_ May 6, 2013
          | * _1.1_ June 15, 2013
          | * _1.2_ August 11, 2013
          |
          """.trimMargin()
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. docs/recipes.md

        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val postBody = """
                |Releases
                |--------
                |
                | * _1.0_ May 6, 2013
                | * _1.1_ June 15, 2013
                | * _1.2_ August 11, 2013
                |""".trimMargin()
    
            val request = Request.Builder()
                .url("https://api.github.com/markdown/raw")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
Back to top