summaryrefslogtreecommitdiff
path: root/src/connect_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/connect_wrap.cc')
-rw-r--r--src/connect_wrap.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/connect_wrap.cc b/src/connect_wrap.cc
new file mode 100644
index 0000000000..df3f093e73
--- /dev/null
+++ b/src/connect_wrap.cc
@@ -0,0 +1,22 @@
+#include "connect_wrap.h"
+
+#include "env.h"
+#include "env-inl.h"
+#include "req-wrap.h"
+#include "req-wrap-inl.h"
+#include "util.h"
+#include "util-inl.h"
+
+namespace node {
+
+using v8::Local;
+using v8::Object;
+
+
+ConnectWrap::ConnectWrap(Environment* env,
+ Local<Object> req_wrap_obj,
+ AsyncWrap::ProviderType provider) : ReqWrap(env, req_wrap_obj, provider) {
+ Wrap(req_wrap_obj, this);
+}
+
+} // namespace node