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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow AS3WebSocket

AS3WebSocket Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AS3WebSocket!

Additional Project Details

Programming Language

ActionScript

Related Categories

ActionScript Libraries

Registered

2025-09-23