Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for webSocketUpgrade (0.11 sec)

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

    internal fun MockResponse.wrap(): mockwebserver3.MockResponse {
      val result = mockwebserver3.MockResponse.Builder()
      val copyFromWebSocketListener = webSocketListener
      if (copyFromWebSocketListener != null) {
        result.webSocketUpgrade(copyFromWebSocketListener)
      }
    
      val body = getBody()
      if (body != null) result.body(body)
    
      for (pushPromise in pushPromises) {
        result.addPush(pushPromise.wrap())
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top