- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getSocketPolicy (0.15 sec)
-
mockwebserver/api/mockwebserver3.api
public final fun getMessage ()Ljava/lang/String; public final fun getPushPromises ()Ljava/util/List; public final fun getSettings ()Lokhttp3/internal/http2/Settings; public final fun getSocketPolicy ()Lmockwebserver3/SocketPolicy; public final fun getStatus ()Ljava/lang/String; public final fun getStreamHandler ()Lmockwebserver3/StreamHandler; public final fun getThrottleBytesPerPeriod ()J
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 03 21:59:45 UTC 2023 - 12.7K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
@JvmName("-deprecated_getSocketPolicy") @Deprecated( message = "moved to var", replaceWith = ReplaceWith(expression = "socketPolicy"), level = DeprecationLevel.ERROR, ) fun getSocketPolicy(): SocketPolicy = socketPolicy fun setSocketPolicy(socketPolicy: SocketPolicy) = apply { this.socketPolicy = socketPolicy } @JvmName("-deprecated_getHttp2ErrorCode") @Deprecated(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
mockwebserver-deprecated/api/mockwebserver.api
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; public final fun getStatus ()Ljava/lang/String; public final fun getThrottleBytesPerPeriod ()J public final fun getThrottlePeriod (Ljava/util/concurrent/TimeUnit;)J
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
var status: String = mockResponse.getStatus() 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)