PageRenderTime 246ms CodeModel.GetById 121ms app.highlight 4ms RepoModel.GetById 117ms app.codeStats 0ms

/js/lib/Socket.IO-node/lib/socket.io/index.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 32 lines | 5 code | 7 blank | 20 comment | 0 complexity | 9bf2d6e28bed524259e4570a7a0000c4 MD5 | raw file
 1
 2/*!
 3 * Socket.IO
 4 * Copyright (c) 2010-2011 Guillermo Rauch <guillermo@learnboost.com>
 5 * MIT Licensed
 6 */
 7
 8/**
 9 * Framework version.
10 */
11
12exports.version = '0.6.17';
13
14/**
15 * Listener creation shorcut
16 *
17 * @param {Server} node HTTP server
18 * @param {Object} options
19 * @api public
20 */
21
22exports.listen = function(server, options){
23  return new exports.Listener(server, options);
24};
25
26/**
27 * Listener constructor
28 *
29 * @api public
30 */
31
32exports.Listener = require('./listener');