We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a381aed commit 564031dCopy full SHA for 564031d
src/env/nodejs/connect.js
@@ -0,0 +1,13 @@
1
+
2
+dop.connect = function(options) {
3
4
+ var args = Array.prototype.slice.call(arguments, 0);
5
6
+ if (dop.util.typeof(args[0]) != 'object')
7
+ options = args[0] = {};
8
9
+ if (typeof options.transport != 'function')
10
+ options.transport = require('dop-transports').connect.websocket;
11
12
+ return dop.core.connector(args);
13
+};
0 commit comments