| 1153 | } |
| 1154 | |
| 1155 | Result HttpWebSocketEndpoint::getPendingControlFrame(Span<const char>& frame) const |
| 1156 | { |
| 1157 | SC_TRY_MSG(hasPendingControlFrame(), "HttpWebSocketEndpoint no pending control frame"); |
| 1158 | frame = pendingControlFrame; |
| 1159 | return Result(true); |
| 1160 | } |
| 1161 | |
| 1162 | void HttpWebSocketEndpoint::clearPendingControlFrame() { pendingControlFrame = {}; } |
| 1163 |