Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getHttp2ErrorCode (0.08 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. mockwebserver/api/mockwebserver3.api

    	public fun <init> ()V
    	public fun <init> (I)V
    	public synthetic fun <init> (IILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public final fun getHttp2ErrorCode ()I
    }
    
    public final class mockwebserver3/SocketEffect$ShutdownConnection : mockwebserver3/SocketEffect {
    	public static final field INSTANCE Lmockwebserver3/SocketEffect$ShutdownConnection;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getBodyDelay (Ljava/util/concurrent/TimeUnit;)J
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getHeadersDelay (Ljava/util/concurrent/TimeUnit;)J
    	public final fun getHttp2ErrorCode ()I
    	public final fun getPushPromises ()Ljava/util/List;
    	public final fun getSettings ()Lokhttp3/internal/http2/Settings;
    	public final fun getSocketPolicy ()Lokhttp3/mockwebserver/SocketPolicy;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top