Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Exchange (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        exchange: Exchange,
        requestDone: Boolean,
        responseDone: Boolean,
        e: E,
      ): E {
        if (exchange != this.exchange) return e // This exchange was detached violently!
    
        var bothStreamsDone = false
        var callDone = false
        this.withLock {
          if (requestDone && requestBodyOpen || responseDone && responseBodyOpen) {
            if (requestDone) requestBodyOpen = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

                .request(request)
                .priorResponse(priorResponse?.stripBody())
                .build()
    
            val exchange = call.interceptorScopedExchange
            val followUp = followUpRequest(response, exchange)
    
            if (followUp == null) {
              if (exchange != null && exchange.isDuplex) {
                call.timeoutEarlyExit()
              }
              closeActiveExchange = false
              return response
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      @Throws(SocketException::class)
      internal fun newWebSocketStreams(exchange: Exchange): RealWebSocket.Streams {
        val socket = this.socket!!
        val source = this.source!!
        val sink = this.sink!!
    
        socket.soTimeout = 0
        noNewExchanges()
        return object : RealWebSocket.Streams(true, source, sink) {
          override fun close() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              response: Response,
            ) {
              val exchange = response.exchange
              val streams: Streams
              try {
                checkUpgradeSuccess(response, exchange)
                streams = exchange!!.newWebSocketStreams()
              } catch (e: IOException) {
                failWebSocket(e, response)
                response.closeQuietly()
                exchange?.webSocketUpgradeFailed()
                return
              }
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        return connect
      }
    
      /**
       * Returns the connection already attached to the call if it's eligible for a new exchange.
       *
       * If the call's connection exists and is eligible for another exchange, it is returned. If it
       * exists but cannot be used for another exchange, it is closed and this returns null.
       */
      private fun planReuseCallConnection(): ReusePlan? {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. doc/godebug.md

    the HTTP client and the HTTP server.
    It is also possible to set the default `GODEBUG` for a given program
    (discussed below).
    
    When preparing any change that is permitted by Go 1 compatibility
    but may nonetheless break some existing programs,
    we first engineer the change to keep as many existing programs working as possible.
    For the remaining programs,
    we define a new GODEBUG setting that
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          val source = raw.source().buffer()
          val sink = raw.sink().buffer()
          while (true) {
            val socketStillGood = processOneRequest(raw, source, sink)
    
            // Clean up after the last exchange on a socket.
            if (!socketStillGood) {
              raw.close()
              openClientSockets.remove(raw)
              return false
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

        checks if the PR looks good or needs additional changes.
    -   If all looks good, the reviewer will approve the PR.
    -   If a change is needed, the contributor is requested to make the suggested
        change.
    -   You make the change and submit it for the review again.
    -   This cycle repeats itself until the PR gets approved.
    -   Note: As a friendly reminder, we may reach out to you if the PR is awaiting
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. CHANGELOG.md

    Change Log
    ==========
    
    ## Version 4.x
    
    See [4.x Change log](https://square.github.io/okhttp/changelogs/changelog_4x/) for the stable version changelogs.
    
    ## Version 5.0.0-alpha.14
    
    _2024-04-17_
    
     *  Breaking: Move coroutines extensions to okhttp3.coroutines. Previously this artifact shared the
        `okhttp3` package name with our core module, which is incompatible with the Java Platform Module
        System.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // 2. The `:` delimiter is not respected because ports are not allowed.
      // 	  Currently the port of an Ingress is implicitly :80 for http and
      // 	  :443 for https.
      // Both these may change in the future.
      // Incoming requests are matched against the host before the
      // IngressRuleValue. If the host is unspecified, the Ingress routes all
      // traffic based on the specified IngressRuleValue.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top