| 1356 | SC_TRY(applyOutgoingMask(header, maskKey)); |
| 1357 | SC_TRY(sendFrame(header, {closePayload, closePayloadSize}, storage, encodedFrame)); |
| 1358 | closeSent = true; |
| 1359 | return Result(true); |
| 1360 | } |
| 1361 | |
| 1362 | Result HttpWebSocketEndpoint::getPendingControlFrame(Span<const char>& frame) const |
| 1363 | { |
| 1364 | SC_TRY_MSG(hasPendingControlFrame(), "HttpWebSocketEndpoint no pending control frame"); |
| 1365 | frame = pendingControlFrame; |
| 1366 | return Result(true); |
| 1367 | } |
| 1368 | |
| 1369 | void HttpWebSocketEndpoint::clearPendingControlFrame() { pendingControlFrame = {}; } |
| 1370 | |
| 1371 | Result HttpWebSocketEndpoint::onReaderFrameHeader(const HttpWebSocketFrameHeaderView& header) |
| 1372 | { |
| 1373 | currentFrame = header; |
nothing calls this directly
no test coverage detected