Welcome page
Last updated
Last updated
Feature-rich, lightweight and zero dependency (by default) WAMP (Web Application Messaging Protocol) Javascript implementation (for browser and node.js)
Wampy.js is a javascript library, that runs both in browser and node.js environments, and even in react native environment. It implements WAMP v2 specification on top of the WebSocket object, and also provides additional features like auto-reconnecting. It has no external dependencies (by default) and is easy to use.
Wampy.js supports next WAMP roles and features:
Authentication:
Ticket-based Authentication
Challenge Response Authentication (wampcra method)
Cryptosign-based Authentication (cryptosign method)
publisher:
subscriber blackwhite listing
publisher exclusion
publisher identification
payload passthru mode
subscriber:
pattern-based subscription
publication trust levels
publisher identification
payload passthru mode
caller:
caller identification
progressive call results
call canceling
call timeout
payload passthru mode
callee:
caller identification
call trust levels
pattern-based registration
shared registration
payload passthru mode
Wampy supports next serializers:
JSON (default, native)
MsgPack (See MessagePack Site for more info)
CBOR (See CBOR Site for more info)
Any new serializer can be added easily
In node.js environment Wampy is compatible with next websocket clients:
WebSocket-Node. A WebSocket Implementation for Node.JS (Draft -08 through the final RFC 6455)
ws. Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js