pub async fn relay_binding<UpMsg, DownMsg>(
binding: TransportBinding<UpMsg, DownMsg>,
cancel: RelayCancellation,
) -> Result<(), TransportError>Expand description
Relay one bound session bidirectionally:
- upstream.recv -> downstream.send
- downstream.recv -> upstream.send