Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getHttp2ErrorCode (0.17 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      @JvmName("-deprecated_getHttp2ErrorCode")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "http2ErrorCode"),
        level = DeprecationLevel.ERROR,
      )
      fun getHttp2ErrorCode(): Int = http2ErrorCode
    
      fun setHttp2ErrorCode(http2ErrorCode: Int) =
        apply {
          this.http2ErrorCode = http2ErrorCode
        }
    
      fun throttleBody(
        bytesPerPeriod: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        var headers: Headers = mockResponse.getHeaders()
        var trailers: Headers = mockResponse.getTrailers()
        var socketPolicy: SocketPolicy = mockResponse.getSocketPolicy()
        var http2ErrorCode: Int = mockResponse.getHttp2ErrorCode()
      }
    
      @Test @Disabled
      fun mockWebServer() {
        val mockWebServer = MockWebServer()
        var port: Int = mockWebServer.getPort()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top