mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Fix #723
This commit is contained in:
parent
953600c177
commit
8b1b31ac20
1 changed files with 3 additions and 0 deletions
|
@ -745,8 +745,11 @@ public:
|
|||
bool operator==(std::nullptr_t) const { return res_ == nullptr; }
|
||||
bool operator!=(std::nullptr_t) const { return res_ != nullptr; }
|
||||
const Response &value() const { return *res_; }
|
||||
Response &value() { return *res_; }
|
||||
const Response &operator*() const { return *res_; }
|
||||
Response &operator*() { return *res_; }
|
||||
const Response *operator->() const { return res_.get(); }
|
||||
Response *operator->() { return res_.get(); }
|
||||
Error error() const { return err_; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in a new issue