- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newWebSocketStreams (0.26 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
} } @Throws(IOException::class) fun trailers(): Headers = codec.trailers() @Throws(SocketException::class) fun newWebSocketStreams(): RealWebSocket.Streams { call.timeoutEarlyExit() return (codec.carrier as RealConnection).newWebSocketStreams(this) } fun webSocketUpgradeFailed() { bodyComplete(-1L, responseDone = true, requestDone = true, e = null) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS) Http1ExchangeCodec(client, this, source, sink) } } @Throws(SocketException::class) internal fun newWebSocketStreams(exchange: Exchange): RealWebSocket.Streams { val socket = this.socket!! val source = this.source!! val sink = this.sink!! socket.soTimeout = 0 noNewExchanges()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
) { val exchange = response.exchange val streams: Streams try { checkUpgradeSuccess(response, exchange) streams = exchange!!.newWebSocketStreams() } catch (e: IOException) { failWebSocket(e, response) response.closeQuietly() exchange?.webSocketUpgradeFailed() return }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0)