spirit
spirit copied to clipboard
helper: tls
The tokio helpers offer plain TCP listener (and in #4 they might offer client). This would enrich the configuration with TLS relevant options and compose the handshake on top of the tokio helper.
It also makes sense to somehow allow configurations that allow but don't mandate encryption ‒ the action would then get some socket wrapper that would be either already encrypted or plain.