| 85 | } |
| 86 | |
| 87 | int HttpStreamClient::recvData(fl::span<u8> buffer) { |
| 88 | if (!isConnected()) { |
| 89 | return -1; |
| 90 | } |
| 91 | return mNativeClient->recv(buffer); |
| 92 | } |
| 93 | |
| 94 | void HttpStreamClient::triggerReconnect() { |
| 95 | // Disconnect and let the base class reconnection logic handle it |