| 93 | [[nodiscard]] bool isStarted() const { return attemptsStarted > 0; } |
| 94 | [[nodiscard]] bool hasAttemptsRemaining() const { return attemptsStarted < policy.maxAttempts; } |
| 95 | [[nodiscard]] uint8_t getRemainingAttempts() const |
| 96 | { |
| 97 | return attemptsStarted < policy.maxAttempts ? static_cast<uint8_t>(policy.maxAttempts - attemptsStarted) : 0; |
| 98 | } |
| 99 | }; |
| 100 | |
| 101 | /// @brief Optional caller-owned state layer above the stateless HttpClient core. |
nothing calls this directly
no outgoing calls
no test coverage detected