pub async fn peer_connect(
input_signal: PeerSignal,
accept: bool,
remote: &impl Remote,
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