async fn greet<S>(
socket: S,
state: Arc<TransportState>,
peer: SocketAddr,
deflate: bool,
)Expand description
Greet, then serve the client until it goes.
The greeting is what tells a client it is speaking to a forge rather than to whatever else holds the port, and it carries the settings the client draws with - so the client is configured before it draws anything rather than discovering a theme later.