Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. ActionScript 3
  3. AS3WebSocket

AS3WebSocket

Apache-2.0ActionScript

ActionScript 3 client library implementing the RFC6455 WebSocket protocol standard for real-time communication.

GitHubGitHub
251 stars94 forks0 contributors

What is AS3WebSocket?

AS3WebSocket is an ActionScript 3 client library that implements the RFC6455 WebSocket protocol standard. It enables Flash and Adobe AIR applications to establish real-time, bidirectional communication channels with WebSocket servers, providing a modern alternative to traditional HTTP polling for live data updates.

Target Audience

ActionScript and Flash developers building real-time applications such as games, chat systems, or live data dashboards that require persistent connections to WebSocket servers.

Value Proposition

Developers choose AS3WebSocket because it provides a standards-compliant WebSocket implementation specifically for the ActionScript 3 ecosystem, with TLS support and compatibility with modern WebSocket servers, filling a gap when browser implementations were not yet available.

Overview

ActionScript 3 WebSocket client implementation for the final WebSocket Draft RFC6455

Use Cases

Best For

  • Building real-time multiplayer games in Flash/AIR
  • Creating chat applications with WebSocket backends
  • Developing live data dashboards with streaming updates
  • Implementing collaborative tools with shared drawing canvases
  • Connecting Flash applications to modern WebSocket APIs
  • Adding real-time features to existing Flash/AIR projects

Not Ideal For

  • Projects requiring compatibility with older WebSocket draft servers (draft-75 or draft-76)
  • Server-side WebSocket implementations, as this is strictly a client library
  • Teams needing extensive custom WebSocket extensions out-of-the-box
  • Modern web applications without Flash/AIR dependencies

Pros & Cons

Pros

RFC6455 Compliance

Implements the final WebSocket protocol standard, ensuring reliable interoperability with modern servers, as emphasized in the README.

TLS Support

Enables secure wss:// connections using the hurlant as3crypto library, providing encrypted communication for sensitive data.

Fragmented Message Handling

Supports sending and receiving messages split across multiple frames, useful for handling large or streaming data efficiently.

Subprotocol Compatibility

Tested with libwebsockets test server protocols like dumb-increment-protocol and lws-mirror-protocol, facilitating practical real-time features.

Cons

No Extension API

The README admits there is no user-provided extension API implemented, limiting customization for advanced WebSocket features like compression or custom headers.

Limited Subprotocol Testing

Only a few subprotocols from libwebsockets have been tested, which may not cover diverse server implementations or custom protocols.

Legacy Technology Dependency

Built for ActionScript 3 and Flash/AIR, which are outdated technologies with diminishing community support and future relevance.

Frequently Asked Questions

Quick Stats

Stars251
Forks94
Contributors0
Open Issues7
Last commit9 years ago
CreatedSince 2011

Tags

#as3#flash#tls#bidirectional-communication#real-time-communication#air#rfc6455#actionscript#websocket-client

Built With

a
actionscript-3
a
as3crypto
F
Flash Builder

Included in

ActionScript 3270
Auto-fetched 1 day ago

Related Projects

FlashSocket.IOFlashSocket.IO

Library to help Flash, Flex and ActionScript clients connect to Socket.IO servers.

Stars210
Forks71
Last commit9 years ago
Socket.io-flashSocket.io-flash

Flash client for Socket.IO server

Stars45
Forks13
Last commit13 years ago
Socket.ioSocket.io

Socket.IO Actionscript 3 client

Stars35
Forks11
Last commit15 years ago
AMFsocketAMFsocket

Bi-directional RPC library for Actionscript (Flash). The easy button for high performance network communication!

Stars11
Forks3
Last commit11 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub