Sha256: 041b5f04d4c9ac7e96429641dbbb469f9d150db8c5d704ceb822e0d42907eb04

Contents?: true

Size: 685 Bytes

Versions: 8

Compression:

Stored size: 685 Bytes

Contents

Some implementation notes:

There is an included flash object (web-socket-js) that is used to
emulate websocket support on browsers without websocket support
(currently only Chrome has WebSocket support).

Javascript doesn't have a bytearray type, so what you get out of
a WebSocket object is just Javascript strings.  Javascript has UTF-16
unicode strings and anything sent through the WebSocket gets converted
to UTF-8 and vice-versa. So, one additional (and necessary) function
of wsproxy is base64 encoding/decoding what is sent to/from the
browser.

Building web-socket-js emulator:

cd include/web-socket-js/flash-src
mxmlc -static-link-runtime-shared-libraries WebSocketMain.as

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webruby-0.2.7 modules/emscripten/third_party/websockify/docs/notes
webruby-0.2.5 modules/emscripten/third_party/websockify/docs/notes
webruby-0.2.4 modules/emscripten/third_party/websockify/docs/notes
webruby-0.2.2 modules/emscripten/third_party/websockify/docs/notes
webruby-0.2.1 modules/emscripten/third_party/websockify/docs/notes
webruby-0.1.2 modules/emscripten/third_party/websockify/docs/notes
webruby-0.1.1 modules/emscripten/third_party/websockify/docs/notes
webruby-0.1.0 modules/emscripten/third_party/websockify/docs/notes