AS3WebSocket is an ActionScript 3 client implementation of the WebSocket protocol, following the final version of RFC 6455. It’s designed to allow Flash/AIR applications to connect via WebSocket (including secure WebSocket: wss://) to servers implementing that standard, to send/receive text and binary data, handle subprotocols, and support fragmentation etc. A test app is included. The testApp directory contains a Flash Builder 4.6 Air Project that uses the AS3WebSocket library and implements two of the test subprotocols from Andy Green's libwebsockets test server, the dumb-increment-protocol, and the lws-mirror-protocol.
Features
- Implements the WebSocket protocol as specified by RFC-6455
- Support for TLS / secure WebSocket (wss://) via as3crypto library
- Sending and receiving of fragmented messages (i.e. message frames split across multiple parts)
- Includes test application(s), including Flash/AIR sample projects that use subprotocols like dumb-increment‐protocol, lws-mirror etc.
- Binary and text message support (i.e. ability to send/receive raw bytes vs UTF-8 text)
- Released under Apache-2.0 license, with examples of usage (connect/open/send etc.) in the README/tests
Categories
LibrariesLicense
Apache License V2.0Follow AS3WebSocket
Other Useful Business Software
Go From AI Idea to AI App Fast
Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of AS3WebSocket!