Skip to content

v0.1.0

Choose a tag to compare

@ehsanmok ehsanmok released this 15 Apr 05:59
· 1148 commits to main since this release

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" }

API Documentation

Full API reference