Created
September 4, 2010 13:49
-
-
Save robi42/565192 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/modules/ringo/webapp/websocket.js b/modules/ringo/webapp/websocket.js | |
| index 17ecc55..c3105cd 100644 | |
| --- a/modules/ringo/webapp/websocket.js | |
| +++ b/modules/ringo/webapp/websocket.js | |
| @@ -59,6 +59,14 @@ exports.addWebSocket = function(context, path, onconnect) { | |
| return outbound.isOpen(); | |
| }, | |
| /** | |
| + * Get the outbound WebSocket connection. | |
| + * @name WebSocket.instance.getOutbound | |
| + * @function | |
| + */ | |
| + getOutbound: function() { | |
| + return outbound; | |
| + }, | |
| + /** | |
| * Get the HTTP Session object associated with this WebSocket. | |
| * @name WebSocket.instance.getSession | |
| * @function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment