Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for angular (0.19 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

      }
    }
    
    /**
     * Reads lines from `IdnaMappingTable.txt`.
     *
     * Comment lines are either blank or start with a `#` character. Lines may also end with a comment.
     * All comments are ignored.
     *
     * Regular lines contain fields separated by semicolons.
     *
     * The first element on each line is a single hex code point (like 0041) or a hex code point range
     * (like 0030..0039).
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       * in the **API contract** between OkHttp and the application.
       *
       * This method returns false unless it is overridden by a subclass.
       *
       * ### Duplex Transmission
       *
       * With regular HTTP calls the request always completes sending before the response may begin
       * receiving. With duplex the request and response may be interleaved! That is, request body bytes
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

         *
         * Other TLS features are still used but provide no security benefits in absence of the above
         * gaps. For example, an insecure TLS connection is capable of negotiating HTTP/2 with ALPN and
         * it also has a regular-looking handshake.
         *
         * **This feature is not supported on Android API levels less than 24.** Prior releases lacked
         * a mechanism to trust some hosts and not others.
         *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        assertThat(formEncode(255)).isEqualTo("%C3%BF")
      }
    
      @Throws(IOException::class)
      private fun formEncode(codePoint: Int): String {
        // Wrap the codepoint with regular printable characters to prevent trimming.
        val body =
          FormBody.Builder()
            .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3))
            .build()
        val buffer = Buffer()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

                activeThreads--
                startNextTask()
              }
            }
          }
        }
      }
    
      /**
       * This blocking queue hooks into a fake clock rather than using regular JVM timing for functions
       * like [poll]. It is only usable within task faker tasks.
       */
      private inner class TaskFakerBlockingQueue<T>(
        val delegate: BlockingQueue<T>,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://%30%78%63%30%2e%30%32%35%30.01  s:http p:/ h:192.168.0.1
    http://%30%78%63%30%2e%30%32%35%30.01%2e  s:http p:/ h:0xc0.0250.01.
    http://192.168.0.257
    
    # Invalid escaping should trigger the regular host error handling.
    http://%3g%78%63%30%2e%30%32%35%30%2E.01
    
    # Something that isn't exactly an IP should get treated as a host and
    # spaces escaped.
    http://192.168.0.1\shello
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       * | `http://a%20b:c%20d@host/`       | `"c d"`      |
       */
      @get:JvmName("password") val password: String,
      /**
       * The host address suitable for use with [InetAddress.getAllByName]. May be:
       *
       *  * A regular host name, like `android.com`.
       *
       *  * An IPv4 address, like `127.0.0.1`.
       *
       *  * An IPv6 address, like `::1`. Note that there are no square braces.
       *
       *  * An encoded IDN, like `xn--n3h.net`.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. docs/changelogs/changelog_3x.md

     *  **Cipher suites may now have arbitrary names.** Previously `CipherSuite` was
        a Java enum and it was impossible to define new cipher suites without first
        upgrading OkHttp. With this change it is now a regular Java class with
        enum-like constants. Application code that uses enum methods on cipher
        suites (`ordinal()`, `name()`, etc.) will break with this change.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            servedDate != null -> {
              conditionName = "If-Modified-Since"
              conditionValue = servedDateString
            }
    
            else -> return CacheStrategy(request, null) // No condition! Make a regular request.
          }
    
          val conditionalRequestHeaders = request.headers.newBuilder()
          conditionalRequestHeaders.addLenient(conditionName, conditionValue!!)
    
          val conditionalRequest =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response4.body.string()).isEqualTo("C")
        assertThat(response4.code).isEqualTo(HttpURLConnection.HTTP_OK)
        assertThat(response4.message).isEqualTo("C-OK")
        server.takeRequest() // regular get
        return server.takeRequest() // conditional get
      }
    
      @Test
      fun immutableIsCached() {
        server.enqueue(
          MockResponse.Builder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top