Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for impementation (0.15 sec)

  1. docs/features/interceptors.md

            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    
        return response;
      }
    }
    ```
    
    A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than once previous response bodies must be closed.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       *
       * Though any call may be initiated as a duplex call, only web servers that are specially
       * designed for this nonstandard interaction will use it. As of 2019-01, the only widely-used
       * implementation of this pattern is [gRPC][grpc].
       *
       * Because the encoding of interleaved data is not well-defined for HTTP/1, duplex request
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        }
    
        /**
         * Apply inbound settings and send an acknowledgement to the peer that provided them.
         *
         * We need to apply the settings and ack them atomically. This is because some HTTP/2
         * implementations (nghttp2) forbid peers from taking advantage of settings before they have
         * acknowledged! In particular, we shouldn't send frames that assume a new `initialWindowSize`
    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)
  4. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      companion object {
        /**
         * The "mixed" subtype of "multipart" is intended for use when the body parts are independent
         * and need to be bundled in a particular order. Any "multipart" subtypes that an implementation
         * does not recognize must be treated as being of subtype "mixed".
         */
        @JvmField
        val MIXED = "multipart/mixed".toMediaType()
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

        /**
         * Configure a single client scoped listener that will receive all analytic events for this
         * client.
         *
         * @see EventListener for semantics and restrictions on listener implementations.
         */
        fun eventListener(eventListener: EventListener) =
          apply {
            this.eventListenerFactory = eventListener.asFactory()
          }
    
        /**
    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)
  6. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

      /**
       * Returns an early guess of the next response, used for policy on how an incoming request should
       * be received. The default implementation returns an empty response. Mischievous implementations
       * can return other values to test HTTP edge cases, such as unhappy socket policies or throttled
       * request bodies.
       */
      open fun peek(): MockResponse {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. android-test-app/build.gradle.kts

          testProguardFiles("test-proguard-rules.pro")
        }
      }
    }
    
    dependencies {
      implementation(libs.playservices.safetynet)
      implementation(projects.okhttp)
      implementation(projects.okhttpAndroid)
      implementation(libs.androidx.activity)
    
      androidTestImplementation(libs.androidx.junit)
      androidTestImplementation(libs.androidx.espresso.core)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. samples/unixdomainsockets/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(libs.jnr.unixsocket)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 15 23:38:32 GMT 2022
    - 159 bytes
    - Viewed (0)
  9. samples/crawler/build.gradle.kts

    plugins {
      kotlin("jvm")
      application
    }
    
    application {
      mainClass.set("okhttp3.sample.Crawler")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(libs.jsoup)
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 15 23:38:32 GMT 2022
    - 234 bytes
    - Viewed (0)
  10. okhttp-testing-support/build.gradle.kts

      id("ru.vyarus.animalsniffer")
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(projects.okhttp)
      api(projects.okhttpTls)
      api(libs.assertk)
      api(libs.bouncycastle.bcprov)
      implementation(libs.bouncycastle.bcpkix)
      implementation(libs.bouncycastle.bctls)
      api(libs.conscrypt.openjdk)
      api(libs.openjsse)
    
      api(variantOf(libs.amazonCorretto) {
        classifier("linux-x86_64")
      })
    
      api(libs.hamcrestLibrary)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 750 bytes
    - Viewed (0)
Back to top