Repository navigation
v0.1.0
flare v0.1.0
Initial stable release of flare, an async-ready networking library for Mojo.
Features
- IP/socket address types (IPv4, IPv6, dual-stack)
- DNS resolution (A/AAAA records via getaddrinfo)
- TCP streams with connect-timeout support
- UDP sockets (unicast and broadcast)
- TLS 1.2+ streams via OpenSSL FFI (forward-secret AEAD ciphers only)
- HTTP/1.1 client (GET, POST, PUT, DELETE, HEAD, PATCH) with redirects, gzip/deflate
- WebSocket client and server (RFC 6455) with TLS support
- HTTP/1.1 server with per-connection handler callbacks
- Authentication helpers (BasicAuth, BearerAuth)
- Ergonomic high-level API (http.get, http.post, ws_connect)
Installation
[dependencies]
flare = { git = "https://github.com/ehsanmok/flare.git", tag = "v0.1.0" }