- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for acceptHeader (0.07 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
import okhttp3.TestUtil.repeat import okhttp3.WebSocket import okhttp3.WebSocketListener import okhttp3.internal.UnreadableResponseBody import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.ws.WebSocketProtocol.acceptHeader import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okio.Buffer import okio.ByteString import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
response: MockResponse, ) { val key = request.headers["Sec-WebSocket-Key"] val webSocketResponse = response.newBuilder() .setHeader("Sec-WebSocket-Accept", WebSocketProtocol.acceptHeader(key!!)) .build() writeHttpResponse(socket, sink, webSocketResponse) // Adapt the request and response into our Request and Response domain model.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0)