void addFirstBodyByteEvent(uint64_t offset, HTTPTransaction *txn)
virtual uint64_t preSend(bool *, bool *, uint64_t)
virtual void addLastByteEvent(HTTPTransaction *txn, uint64_t byteNo) noexcept
MockByteEventTracker(Callback *callback)
requires E e noexcept(noexcept(s.error(std::move(e))))
void addPingByteEvent(size_t pingSize, TimePoint timestamp, uint64_t bytesScheduled)
GMOCK_METHOD2_(, noexcept,, addTrackedByteEvent, void(HTTPTransaction *, uint64_t))
virtual bool processByteEvents(std::shared_ptr< ByteEventTracker > self, uint64_t bytesWritten)
MOCK_METHOD3(addPingByteEvent, void(size_t, TimePoint, uint64_t))
MOCK_METHOD0(drainByteEvents, size_t())
MOCK_METHOD2(addFirstBodyByteEvent, void(uint64_t, HTTPTransaction *))
SteadyClock::time_point TimePoint
virtual void addFirstHeaderByteEvent(uint64_t offset, HTTPTransaction *txn)
virtual size_t drainByteEvents()
virtual void addTrackedByteEvent(HTTPTransaction *txn, uint64_t byteNo) noexcept