pub async fn peer_connect<R: Ratchet>(
input_signal: PeerSignal,
accept: bool,
remote: &impl Remote<R>,
peer_session_password: Option<PreSharedKey>,
) -> Result<Ticket, NetworkError>
Expand description
Given the input_signal
from the peer, this function sends a connect response to the target peer