Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Desmond (0.18 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. docs/contribute/code_of_conduct.md

    After filing a report, a representative from the Square Code of Conduct committee will contact you
    personally. The committee will then review the incident, follow up with any additional questions,
    and make a decision as to how to respond.
    
    Anyone asked to stop unacceptable behavior is expected to comply immediately. If an individual
    engages in unacceptable behavior, the Square Code of Conduct committee may take any action they deem
    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)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun fastFallback(fastFallback: Boolean) =
          apply {
            this.fastFallback = fastFallback
          }
    
        /**
         * Sets the authenticator used to respond to challenges from origin servers. Use
         * [proxyAuthenticator] to set the authenticator for proxy servers.
         *
         * If unset, the [no authentication will be attempted][Authenticator.NONE].
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

          // 3. Server tries to send response on the canceled stream
          // Otherwise, there is no guarantee for the sequence. For example, the server may use the
          // first mocked response to respond to the second request.
          val response = super.dispatch(request)
          responseDequeuedLatches[responseIndex].countDown()
          requestCanceledLatches[responseIndex].await()
          responseIndex++
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

                override fun onOpen(
                  webSocket: WebSocket,
                  response: Response,
                ) {
                  try {
                    latch.await() // The server can't respond to pings!
                  } catch (e: InterruptedException) {
                    throw AssertionError(e)
                  }
                }
              },
            )
            .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)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      }
    
      @Throws(IOException::class)
      override fun onReadMessage(bytes: ByteString) {
        listener.onMessage(this, bytes)
      }
    
      @Synchronized override fun onReadPing(payload: ByteString) {
        // Don't respond to pings after we've failed or sent the close frame.
        if (failed || enqueuedClose && messageAndCloseQueue.isEmpty()) return
    
        pongQueue.add(payload)
        runWriter()
        receivedPingCount++
      }
    
    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)
  7. docs/en/docs/async.md

    ```Python hl_lines="2"
    @app.get('/')
    def results():
        results = some_library()
        return results
    ```
    
    ---
    
    If your application (somehow) doesn't have to communicate with anything else and wait for it to respond, use `async def`.
    
    ---
    
    If you just don't know, use normal `def`.
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // respond with a 410 ResourceExpired error together with a continue token. If the client needs a
      // consistent list, it must restart their list without the continue field. Otherwise, the client may
      // send another list request with the token received with the 410 error, the server will respond with
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image01.png">
    
    You can type messages in the input box, and send them:
    
    <img src="/img/tutorial/websockets/image02.png">
    
    And your **FastAPI** application with WebSockets will respond back:
    
    <img src="/img/tutorial/websockets/image03.png">
    
    You can send (and receive) many messages:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    And all of them will use the same WebSocket connection.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *
       * To differentiate the two cases we ping the server when a stream times out. If the overall
       * connection is fine the ping will receive a pong; otherwise it won't.
       *
       * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too
       * long, streams created while we await the pong will reuse broken connections and inevitably
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
Back to top