citadel_sdk::responses

Function peer_register

Source
pub async fn peer_register<R: Ratchet>(
    input_signal: PeerSignal,
    accept: bool,
    remote: &impl Remote<R>,
) -> Result<Ticket, NetworkError>
Expand description

Given the input_signal from the peer, this function sends a register response to the target peer