| 1356 | } |
| 1357 | |
| 1358 | Result HttpWebSocketConnectionPump::flushPendingControlFrame() |
| 1359 | { |
| 1360 | if (not endpoint.hasPendingControlFrame()) |
| 1361 | { |
| 1362 | return Result(true); |
| 1363 | } |
| 1364 | |
| 1365 | Span<const char> controlFrame; |
| 1366 | SC_TRY(endpoint.getPendingControlFrame(controlFrame)); |
| 1367 | SC_TRY(writeFrame(controlFrame)); |
| 1368 | endpoint.clearPendingControlFrame(); |
| 1369 | return Result(true); |
| 1370 | } |
| 1371 | |
| 1372 | void HttpWebSocketConnectionPump::onData(AsyncBufferView::ID bufferID) |
| 1373 | { |
nothing calls this directly
no test coverage detected