Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for ending2 (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * [Call.request] is a redirect to a different address.
       */
      open fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
      }
    
      /**
       * Invoked just prior to sending request headers.
       *
       * The connection is implicit, and will generally relate to the last [connectionAcquired] event.
       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response to the
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DuplexTest.kt

        }
        body.awaitSuccess()
        assertThat(log.take()!!)
          .contains("StreamResetException: stream was reset: CANCEL")
      }
    
      /**
       * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout should
       * only elapse 1000 ms after the request body is sent.
       */
      @Test
      fun headersReadTimeoutDoesNotStartUntilLastRequestBodyByteFire() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

            // array.
            while (mid > -1 && this[mid] != '\n'.code.toByte()) {
              mid--
            }
            mid++
    
            // Now look for the ending '\n'.
            var end = 1
            while (this[mid + end] != '\n'.code.toByte()) {
              end++
            }
            val publicSuffixLength = mid + end - mid
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       * have been received. If the returned list contains multiple blocks of headers the blocks will be
       * delimited by 'null'.
       *
       * @param callerIsIdle true if the caller isn't sending any more bytes until the peer responds.
       *     This is true after a `Expect-Continue` request, false for duplex requests, and false for
       *     all other requests.
       */
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          return receivedAge + responseDuration + residentDuration
        }
    
        /**
         * Returns true if the request contains conditions that save the server from sending a response
         * that the client has locally. When a request is enqueued with its own conditions, the built-in
         * response cache won't be used.
         */
        private fun hasConditions(request: Request): Boolean =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        return editor
      }
    
      /**
       * Returns the number of bytes currently being used to store the values in this cache. This may be
       * greater than the max size if a background deletion is pending.
       */
      @Synchronized
      @Throws(IOException::class)
      fun size(): Long {
        initialize()
        return size
      }
    
      @Synchronized
      @Throws(IOException::class)
      internal fun completeEdit(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * doesn't include the motivating request's HTTP headers or even its full URL; only the target
     * server's hostname is sent to the proxy.
     *
     * Prior to sending any CONNECT request OkHttp always calls the proxy authenticator so that it may
     * prepare preemptive authentication. OkHttp will call [authenticate] with a fake `HTTP/1.1 407
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_4x.md

        the request already contains an `Accept` header.
    
     *  Fix: Don't crash with a `NullPointerException` if a server sends a close while we're sending a
        ping. OkHttp had a race condition bug.
    
    
    ## Version 4.6.0
    
    _2020-04-28_
    
     *  Fix: Follow HTTP 307 and 308 redirects on methods other than GET and POST. We're reluctant to
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/StreamHandler.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    
    /**
     * Handles a call's stream directly. Use this instead of [MockResponseBody] to begin sending
     * response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    @ExperimentalOkHttpApi
    interface StreamHandler {
      fun handle(stream: Stream)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 945 bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    ```
    ./gradlew clean check
    ```
    
    Please make every effort to follow existing conventions and style in order to keep the code as
    readable as possible.
    
    Contribute code changes through GitHub by forking the repository and sending a pull request. We
    squash all pull requests on merge.
    
    
    Gradle Setup
    ------------
    
    ```
    $ cat local.properties
    sdk.dir=PATH_TO_ANDROID_HOME/sdk
    org.gradle.caching=true
    ```
    
    Running Android Tests
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top