Function tcp_handler::packet::send_with_encrypt
source · pub async fn send_with_encrypt<W: AsyncWriteExt + Unpin + Send>(
stream: &mut W,
message: &[u8],
cipher: &AesCipher
) -> Result<(), PacketError>👎Deprecated since 0.1.0: Please use
send_with_dynamic_encrypt instead.