Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setServerSocketFactory (0.12 sec)

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

        message = "moved to var",
        replaceWith =
          ReplaceWith(
            expression = "run { this.serverSocketFactory = serverSocketFactory }",
          ),
        level = DeprecationLevel.ERROR,
      )
      fun setServerSocketFactory(serverSocketFactory: ServerSocketFactory) {
        delegate.serverSocketFactory = serverSocketFactory
      }
    
      fun url(path: String): HttpUrl {
        before() // This implicitly starts the delegate.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

      }
    
      @Test @Disabled
      fun mockWebServer() {
        val mockWebServer = MockWebServer()
        var port: Int = mockWebServer.getPort()
        mockWebServer.setServerSocketFactory(ServerSocketFactory.getDefault())
        mockWebServer.setBodyLimit(0L)
        mockWebServer.setProtocolNegotiationEnabled(false)
        mockWebServer.setProtocols(listOf(Protocol.HTTP_1_1))
    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