Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for berkes (0.15 sec)

  1. mockwebserver/README.md

    assertEquals("application/json; charset=utf-8", request.getHeader("Content-Type"));
    assertEquals("{}", request.getBody().readUtf8());
    ```
    
    #### Dispatcher
    
    By default MockWebServer uses a queue to specify a series of responses. Use a
    Dispatcher (`import okhttp3.mockwebserver.Dispatcher`) to handle requests using another policy. One natural policy is to
    dispatch on the request path.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

            Challenge(
              schemeName,
              Collections.singletonMap<String, String>(null, peek + "=".repeat(eqCount)),
            ),
          )
          peek = null
          continue
        }
    
        // It's a series of parameter names and values.
        val parameters = mutableMapOf<String?, String>()
        eqCount += skipAll('='.code.toByte())
        while (true) {
          if (peek == null) {
            peek = readToken()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. docs/contribute/code_of_conduct.md

       disengages from the project, they should make it known and take the proper steps to ensure that
       others can pick up where they left off.
    
    This code is not exhaustive or complete. It serves to distill our common understanding of a
    collaborative, shared environment, and goals. We expect it to be followed in spirit as much as in
    the letter.
    
    Diversity Statement
    -------------------
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.platform.Platform
    import okhttp3.tls.internal.TlsUtil.localhost
    import okio.buffer
    import okio.source
    
    /** A basic HTTP/2 server that serves the contents of a local directory.  */
    class Http2Server(
      private val baseDirectory: File,
      private val sslSocketFactory: SSLSocketFactory,
    ) : Http2Connection.Listener() {
      private fun run() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.1K bytes
    - Viewed (0)
Back to top