| 1398 | } |
| 1399 | |
| 1400 | bool SC::HttpClientOperation::hasPendingEvents() const |
| 1401 | { |
| 1402 | eventMutex.lock(); |
| 1403 | const bool pending = eventCount > 0; |
| 1404 | eventMutex.unlock(); |
| 1405 | return pending; |
| 1406 | } |
| 1407 | |
| 1408 | SC::Result SC::HttpClientOperation::allocateResponseBuffer(size_t minimumSizeInBytes, size_t& bufferIndex, |
| 1409 | Span<char>& data) |