Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 106 for note (0.37 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

     *
     * As a stream ID is scoped to a single HTTP/2 connection, implementations which target multiple
     * connections should expect repetition of stream IDs.
     *
     * Return true to request cancellation of a pushed stream.  Note that this does not guarantee
     * future frames won't arrive on the stream ID.
     */
    interface PushObserver {
      /**
       * Describes the request that the server intends to push a response for.
       *
    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)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

       * cache size. The application needs to be aware of calling this function during the
       * initialization phase and preferably in a background worker thread.
       *
       * Note that if the application chooses to not call this method to initialize the cache. By
       * default, OkHttp will perform lazy initialization upon the first usage of the cache.
       */
      @Throws(IOException::class)
      fun initialize() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

       * returning it. We can do this with a conditional GET.
       *
       * In a request, it means do not use a cache to satisfy the request.
       */
      @get:JvmName("noCache") val noCache: Boolean,
      /** If true, this response should not be cached. */
      @get:JvmName("noStore") val noStore: Boolean,
      /** The duration past the response's served date that it can be served without validation. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

        fun cancel()
    
        /**
         * Returns a plan to attempt if canceling this plan was a mistake! The returned plan is not
         * canceled, even if this plan is canceled.
         */
        fun retry(): Plan?
      }
    
      /**
       * What to do once a plan has executed.
       *
       * If [nextPlan] is not-null, another attempt should be made by following it. If [throwable] is
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. mockwebserver-junit5/README.md

    ) {
      @Test
      fun test() {
        ...
      }
    }
    ```
    
    Requirements
    ------------
    
    MockWebServer's JUnit 5 integration works on Android 7.0+ (API level 24+) and Java 8+. Note that
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            )
          },
          construct = {
            BasicConstraints(
              ca = it[0] as Boolean,
              maxIntermediateCas = it[1] as Long?,
            )
          },
        )
    
      /**
       * Note that only a subset of available choices are implemented.
       *
       * ```
       * GeneralName ::= CHOICE {
       *   otherName                       [0]     OtherName,
       *   rfc822Name                      [1]     IA5String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

              override fun encode(
                writer: DerWriter,
                value: String,
              ) = writer.writeUtf8(value)
            },
        )
    
      /**
       * Based on International Alphabet No. 5. Note that there are bytes that IA5 and US-ASCII
       * disagree on interpretation.
       *
       * TODO(jwilson): constrain to IA5 characters.
       */
      val IA5_STRING =
        BasicDerAdapter(
          name = "IA5 STRING",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * is similar policy for all of the 1.1 million Unicode code points. Note that some code points such
     * as "\ud83c\udf69" are not mapped and cannot be used in a hostname.
     *
     * [Punycode](http://ietf.org/rfc/rfc3492.txt) converts a Unicode string to an ASCII string to make
     * international domain names work everywhere. For example, "σ" encodes as "xn--4xa". The encoded
     * string is not human readable, but can be used with classes like [InetAddress] to establish
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (originalRequest.header("Sec-WebSocket-Extensions") != null) {
          failWebSocket(ProtocolException("Request header not permitted: 'Sec-WebSocket-Extensions'"))
          return
        }
    
        val webSocketClient =
          client.newBuilder()
            .eventListener(EventListener.NONE)
            .protocols(ONLY_HTTP1)
            .build()
        val request =
          originalRequest.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

              (length0 and 0b0111_1111).toLong()
            }
          }
    
        // Note that this may be be an encoded "end of data" header.
        return DerHeader(tagClass, tag, constructed, length)
      }
    
      /**
       * Consume a header and execute [block], which should consume the entire value described by the
       * header. It is an error to not consume a full value in [block].
       */
      internal inline fun <T> read(
        name: String?,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top