summaryrefslogtreecommitdiffhomepage
path: root/src/nodejs/unit-http/websocket.js
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2019-08-20 16:32:05 +0300
committerMax Romanov <max.romanov@nginx.com>2019-08-20 16:32:05 +0300
commite291841b3379f8787a10ad4f91e4aeae2ae323a4 (patch)
tree49a2f4629e5b8d6cd48f7436d7eeba4c99905675 /src/nodejs/unit-http/websocket.js
parente501c74ddceab86e48c031ca9b5e154f52dcdae0 (diff)
downloadunit-e291841b3379f8787a10ad4f91e4aeae2ae323a4.tar.gz
unit-e291841b3379f8787a10ad4f91e4aeae2ae323a4.tar.bz2
Node.js: introducing websocket support.
Diffstat (limited to 'src/nodejs/unit-http/websocket.js')
-rw-r--r--src/nodejs/unit-http/websocket.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nodejs/unit-http/websocket.js b/src/nodejs/unit-http/websocket.js
new file mode 100644
index 00000000..36d0e07a
--- /dev/null
+++ b/src/nodejs/unit-http/websocket.js
@@ -0,0 +1,14 @@
+
+/*
+ * Copyright (C) NGINX, Inc.
+ */
+
+'use strict';
+
+module.exports = {
+ 'server' : require('./websocket_server'),
+ 'router' : require('./websocket_router'),
+ 'frame' : require('./websocket_frame'),
+ 'request' : require('./websocket_request'),
+ 'connection' : require('./websocket_connection'),
+};