# WebSockex

> An Elixir WebSocket client built on OTP processes

Source: https://talira.ai/catalog/websockex-t3dvnw3d
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / websockets / clients](https://talira.ai/categories/libraries/websockets/clients), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Dominic Letz](https://talira.ai/orgs/dominic-letz.md)

WebSockex is an open source WebSocket client for Elixir. A client is a module that uses WebSockex and handles incoming frames, pings and connection events in callbacks, runs as its own process and can sit under a supervisor. wss:// connections verify the server certificate and hostname by default, and it can dial IPv6 and connect through an HTTP CONNECT proxy.

## Links

- GitHub: https://github.com/dominicletz/websockex
- Docs: https://hexdocs.pm/websockex/

## Problems it solves

- connect to a WebSocket server from an Elixir app
- keep a supervised WebSocket client process running in Elixir
- consume a streaming WebSocket API from Elixir

## Features

- 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

## Trust

Overall: 0.46 out of 1.
Signals: maintenance 0.64, adoption 0.55, momentum 0.23, community 0.60, backing 0.30, extensibility 0.00.

- last commit 27 days ago
- 6 commits in the last 90 days
- latest release v0.4.3 5.7 years ago
- 560 GitHub stars
- 31 contributors
- backed by Dominic Letz

## Alternatives

- [websocket_client (Erlang)](https://talira.ai/catalog/websocket-client-erlang-r98fgre8.md): OTP-compliant WebSocket client for Erlang, over ws and wss

## Sources

[^1]: https://github.com/dominicletz/websockex/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/dominicletz/websockex/blob/master/LICENSE (checked 28 Nov 2026)
