twitch_tohell 0.1.1

Twitch EventSub webhook and WebSocket support
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(any(feature = "webhook-actix", feature = "webhook-axum"))]
pub mod webhook;
#[cfg(feature = "websocket")]
pub mod websocket;

pub mod events;

pub use asknothingx2_util::serde::EmptyObject;
pub use twitch_onthe::eventsub::{Subscription, SubscriptionType};
pub use twitch_onthe::ids::{
    BroadcasterId, CampaignId, ConduitId, EmoteId, GoalId, HypeTrainId, MessageId, ModeratorId,
    PollId, PredictionId, RedemptionId, RewardId, SessionId, StreamId, TransactionId,
    UnbanRequestId, UserId, WhisperId,
};
pub use twitch_onthe::{Amount, Choice, Images, Outcome, Reward, TopContribution};