MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / IsValidID

Method IsValidID

plugins/twitch/event-sub.cpp:370–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370bool EventSub::IsValidID(const std::string &id)
371{
372 return !_sessionID.empty() && id == _sessionID;
373}
374
375std::optional<const EventSub::ParsedMessage>
376EventSub::ParseWebSocketMessage(const EventSubWSClient::message_ptr &message)

Callers 1

AddEventSubscriptionMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected