Function streamduck_core::socket::send_packet
source · [−]pub fn send_packet<T: SocketData + Serialize>(
handle: SocketHandle<'_>,
previous_packet: &SocketPacket,
data: &T
) -> Result<(), SocketError>Expand description
Sends a packet with included requester ID from previous package