Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for layout (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

     * save a small amount of file I/O and data copying.
     */
    class Relay private constructor(
      /**
       * Read/write persistence of the upstream source and its metadata. Its layout is as follows:
       *
       *  * 16 bytes: either `OkHttp cache v1\n` if the persisted file is complete. This is another
       *    sequence of bytes if the file is incomplete and should not be used.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. .editorconfig

    root = true
    
    [*]
    indent_size = 2
    ij_continuation_indent_size = 2
    charset = utf-8
    trim_trailing_whitespace = true
    insert_final_newline = true
    
    [*.{kt, kts}]
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 185 bytes
    - Viewed (0)
  3. docs/features/events.md

    Events allow you to capture metrics on your application’s HTTP calls. Use events to monitor:
    
     * The size and frequency of the HTTP calls your application makes. If you’re making too many calls, or your calls are too large, you should know about it!
     * The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it.
    
    ### EventListener
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        // with MD5 or 512-bit RSA; that's insecure!
        //
        // openssl req \
        //   -x509 \
        //   -md5 \
        //   -nodes \
        //   -days 1 \
        //   -newkey rsa:512 \
        //   -keyout privateKey.key \
        //   -out certificate.crt
        val certificatePem =
          """
          |-----BEGIN CERTIFICATE-----
          |MIIBFzCBwgIJAIVAqagcVN7/MA0GCSqGSIb3DQEBBAUAMBMxETAPBgNVBAMMCGNh
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

     */
    class OpenJSSEPlatform private constructor() : Platform() {
      private val provider: Provider = org.openjsse.net.ssl.OpenJSSE()
    
      // Selects TLSv1.3 so we are specific about our intended version ranges (not just 1.3)
      // and because it's a common pattern for VMs to have differences between supported and
      // defaulted versions for TLS based on what is requested.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    file://localhost/test  s:file h:localhost p:/test
    test  s:file p:/tmp/mock/test
    file:test  s:file p:/tmp/mock/test
    
    # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/script-tests/path.js
    http://example.com/././foo about:blank s:http h:example.com p:/foo
    http://example.com/./.foo  s:http h:example.com p:/.foo
    http://example.com/foo/.  s:http h:example.com p:/foo/
    http://example.com/foo/./  s:http h:example.com p:/foo/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_1x.md

     *  Fix a bug in `Content-Length` reporting for gzipped streams in the Apache
        HTTP client adapter. (thanks kwuollett)
     *  Work around the Alcatel `getByInetAddress` bug (thanks k.kocel)
     *  Be more aggressive about testing pooled sockets before reuse. (thanks
        warpspin)
     *  Include `Content-Type` and `Content-Encoding` in the Apache HTTP client
        adapter. (thanks kwuollett)
     *  Add a media type class to OkHttp.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      }
    
      /**
       * Configure the websocket to send pings every 500 ms. Artificially prevent the server from
       * responding to pings. The client should give up when attempting to send its 2nd ping, at about
       * 1000 ms.
       */
      @Test
      fun unacknowledgedPingFailsConnection() {
        assumeNotWindows()
        client =
          client.newBuilder()
            .pingInterval(Duration.ofMillis(500))
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

          System.err.println("Ignoring unsupported scheme ${testData.scheme}")
          return
        }
    
        if (!testData.base!!.startsWith("https:") &&
          !testData.base!!.startsWith("http:") &&
          testData.base != "about:blank"
        ) {
          System.err.println("Ignoring unsupported base ${testData.base}")
          return
        }
    
        try {
          testHttpUrl(testData)
          if (KNOWN_FAILURES.contains(testData.toString())) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
     * [IllegalArgumentException] on invalid input or [toHttpUrlOrNull] returns null if the input is an
     * invalid URL. You can even be explicit about whether each component has been encoded already.
     *
     * [idna]: http://www.unicode.org/reports/tr46/#ToASCII
     */
    class HttpUrl private constructor(
      /** Either "http" or "https". */
    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