Transports
Xylem supports multiple transport layers for network communication.
Supported Transports
- TCP - Reliable byte stream transport
- UDP - Unreliable datagram transport
- Unix Domain Sockets - Local inter-process communication
Transport Selection
Specify the transport explicitly in your TOML profile configuration:
[target]
protocol = "redis"
transport = "tcp"
address = "localhost:6379"
# or, for a Unix socket:
[target]
protocol = "redis"
transport = "unix"
address = "/var/run/redis.sock"