Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for headersDelay (0.07 sec)

  1. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        mockResponse = mockResponse.setBodyDelay(0L, TimeUnit.SECONDS)
        val bodyDelay: Long = mockResponse.getBodyDelay(TimeUnit.SECONDS)
        mockResponse = mockResponse.setHeadersDelay(0L, TimeUnit.SECONDS)
        val headersDelay: Long = mockResponse.getHeadersDelay(TimeUnit.SECONDS)
        mockResponse = mockResponse.withPush(PushPromise("", "", headersOf(), MockResponse()))
        var pushPromises: List<PushPromise> = mockResponse.pushPromises
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      fun responseHeadersAfterGoaway(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse.Builder()
            .headersDelay(1, TimeUnit.SECONDS)
            .body("ABC")
            .build(),
        )
        server.enqueue(
          MockResponse(
            body = "DEF",
            socketPolicy = DisconnectAtEnd,
          ),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top