use crate::{ClientId, LongPollingServiceContext};
use axum::http::HeaderMap;
use std::sync::Arc;
#[derive(Debug)]
#[non_exhaustive]
#[allow(missing_docs)]
pub struct SessionAddedArgs {
pub context: Arc<LongPollingServiceContext>,
pub client_id: ClientId,
pub headers: HeaderMap,
}
#[derive(Debug)]
#[non_exhaustive]
#[allow(missing_docs)]
pub struct SubscribeArgs {
pub context: Arc<LongPollingServiceContext>,
pub client_id: ClientId,
pub headers: HeaderMap,
pub channels: Vec<String>,
}
#[derive(Debug)]
#[non_exhaustive]
#[allow(missing_docs)]
pub struct SessionRemovedArgs {
pub context: Arc<LongPollingServiceContext>,
pub client_id: ClientId,
}