talira

Compare

websocket_client (Erlang)WebSockex
What it isOTP-compliant WebSocket client for Erlang, over ws and wssAn Elixir WebSocket client built on OTP processes
KindOpen sourceOpen source
Trust0.190.46
Stars46560
Last commit2025-11-082026-11-02
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyMichael ColesDominic Letz
Features
  • callback-driven behaviour, like a Cowboy websocket handler
  • ws and wss (TCP and SSL) connections
  • handshake validation and client-to-server masking
  • text, binary, ping, pong, close and continuation frames
  • automatic ping/pong and keepalive
  • reconnect from the disconnect callback
  • callback module handles frames, pings and connection events
  • runs as a supervised process
  • verifies wss:// certificates and hostnames by default (OS trust store on OTP 25+ or castore)
  • custom CA certificates or TLS options
  • IPv6 and HTTP CONNECT proxy support
Limitations
  • It uses verify_none for TLS by default (verifying the server's certificate is on its to-do list), and after its rework onto gen_statem its README says there may still be bugs.