Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 134 for mockwebserver (0.08 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    import javax.security.auth.x500.X500Principal
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.RecordingEventListener
    import okhttp3.Request
    import okhttp3.internal.http2.ConnectionShutdownException
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. samples/slack/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.mockwebserver)
      implementation(libs.squareup.moshi)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 125 bytes
    - Viewed (0)
  3. samples/unixdomainsockets/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(libs.jnr.unixsocket)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 159 bytes
    - Viewed (0)
  4. samples/guide/build.gradle.kts

    plugins {
      kotlin("jvm")
      kotlin("kapt")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(projects.okhttpTestingSupport)
      implementation(projects.okhttpTls)
      implementation(libs.animalsniffer.annotations)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.okio.fakefilesystem)
      kapt(libs.squareup.moshi.compiler)
    }
    
    java {
      toolchain {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Feb 21 19:52:48 UTC 2022
    - 531 bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.mockwebserver
    
    import okhttp3.Headers
    
    class PushPromise(
      @get:JvmName("method") val method: String,
      @get:JvmName("path") val path: String,
      @get:JvmName("headers") val headers: Headers,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. .github/renovate.json

        ":dependencyDashboard",
        "schedule:weekly"
      ],
      "labels": ["renovate"],
      "ignoreDeps": [
        "com.squareup.okhttp3:okhttp",
        "com.squareup.okhttp3:okhttp-tls",
        "com.squareup.okhttp3:mockwebserver"
      ],
      "packageRules": [
        {
          "matchPackagePatterns": [
            "biz.*"
          ],
          "groupName": "bnd"
        },
        {
          "matchPackagePatterns": [
            "org.graalvm.*"
          ],
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:18:31 UTC 2024
    - 956 bytes
    - Viewed (0)
  7. README.md

        }
    ```
    
    MockWebServer
    -------------
    
    OkHttp includes a library for testing HTTP, HTTPS, and HTTP/2 clients.
    
    The latest release is available on [Maven Central](https://search.maven.org/artifact/com.squareup.okhttp3/mockwebserver/4.12.0/jar).
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0")
    ```
    
    GraalVM Native Image
    --------------------
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. regression-test/build.gradle.kts

      implementation("com.squareup.okhttp3:okhttp-tls:${okhttpLegacyVersion}") {
        exclude("org.bouncycastle")
      }
      androidTestImplementation("com.squareup.okhttp3:mockwebserver:${okhttpLegacyVersion}")
      androidTestImplementation(libs.bouncycastle.bcprov)
      androidTestImplementation(libs.bouncycastle.bctls)
      androidTestImplementation(libs.androidx.junit)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. docs/changelogs/changelog_1x.md

     * New: Support for `spdy/3.1`. Dropped support for `spdy/3`.
     * New: Use ALPN on Android platforms that support it (4.4+)
     * New: CacheControl model and parser.
     * New: Protocol selection in MockWebServer.
     * Fix: Route selection shouldn't use TLS modes that we know will fail.
     * Fix: Cache SPDY responses even if the response body is closed prematurely.
     * Fix: Use strict timeouts when aborting a download.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/Dispatcher.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.mockwebserver
    
    abstract class Dispatcher {
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      open fun peek(): MockResponse {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 909 bytes
    - Viewed (0)
Back to top