diff options
Diffstat (limited to 'src/req_wrap.h')
-rw-r--r-- | src/req_wrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/req_wrap.h b/src/req_wrap.h index 656be38dce..4d6a89d743 100644 --- a/src/req_wrap.h +++ b/src/req_wrap.h @@ -19,6 +19,7 @@ class ReqWrap : public AsyncWrap { inline ~ReqWrap() override; inline void Dispatched(); // Call this after the req has been dispatched. T* req() { return &req_; } + inline void Cancel(); static ReqWrap* from_req(T* req); |