🌐 Network & Communication
HTTP/2-3, gRPC, QUIC, WebSocket, TCP/UDP and high-performance network protocols
HTTP/3
gRPC
QUIC
Overview
HTTP/2-3, gRPC, QUIC, WebSocket, TCP/UDP and high-performance network protocols
Zero-Copy
Minimal allocations for maximum throughput
TLS 1.3
Built-in encryption and security
Load Balancing
Round-robin, least-conn, consistent hash
Packages
assets
Advanced assets implementation with high performance and reliability.
modules
Advanced modules implementation with high performance and reliability.
Quick Start Example
Get started with Network & Communication:
use avx_http::{Server, Request, Response};
use avx_grpc::ServiceBuilder;
// HTTP/3 server
let server = Server::bind("0.0.0.0:443")
.tls(cert, key)
.http3()
.build()?;
// gRPC service
let svc = ServiceBuilder::new()
.add_service(my_service)
.serve(addr).await?;