chunkedge_protocol/packets/play/cookie_request_s2c.rs
1use std::borrow::Cow;
2
3use chunkedge_binary::{Decode, Encode};
4use chunkedge_ident::Ident;
5
6use crate::Packet;
7
8#[derive(Clone, Debug, Encode, Decode, Packet)]
9/// Request the client to send the cookie with the specified key.
10pub struct CookieRequestS2c<'a> {
11 pub key: Ident<Cow<'a, str>>,
12}