Node.js  v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
connect_wrap.h
Go to the documentation of this file.
1 #ifndef SRC_CONNECT_WRAP_H_
2 #define SRC_CONNECT_WRAP_H_
3 
4 #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5 
6 #include "env.h"
7 #include "req-wrap.h"
8 #include "async-wrap.h"
9 #include "v8.h"
10 
11 namespace node {
12 
13 class ConnectWrap : public ReqWrap<uv_connect_t> {
14  public:
15  ConnectWrap(Environment* env,
16  v8::Local<v8::Object> req_wrap_obj,
17  AsyncWrap::ProviderType provider);
18  ~ConnectWrap();
19 
20  size_t self_size() const override { return sizeof(*this); }
21 };
22 
23 } // namespace node
24 
25 #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
26 
27 #endif // SRC_CONNECT_WRAP_H_