|
Chatterino
|
#include <SeventvEventAPIClient.hpp>
Public Member Functions | |
| SeventvEventAPIClient (liveupdates::WebsocketClient &websocketClient, liveupdates::WebsocketHandle handle, std::chrono::milliseconds heartbeatInterval) | |
| void | setHeartbeatInterval (int intervalMs) |
| void | handleHeartbeat () |
Public Member Functions inherited from chatterino::BasicPubSubClient< SeventvEventAPISubscription > | |
| BasicPubSubClient (liveupdates::WebsocketClient &websocketClient, liveupdates::WebsocketHandle handle, size_t maxSubscriptions=100) | |
| BasicPubSubClient (const BasicPubSubClient &)=delete | |
| BasicPubSubClient (const BasicPubSubClient &&)=delete | |
| virtual | ~BasicPubSubClient ()=default |
| BasicPubSubClient & | operator= (const BasicPubSubClient &)=delete |
| BasicPubSubClient & | operator= (const BasicPubSubClient &&)=delete |
Protected Member Functions | |
| void | onConnectionEstablished () override |
Protected Member Functions inherited from chatterino::BasicPubSubClient< SeventvEventAPISubscription > | |
| bool | send (const char *payload) |
| bool | subscribe (const SeventvEventAPISubscription &subscription) |
| bool | unsubscribe (const SeventvEventAPISubscription &subscription) |
| void | close (const std::string &reason, websocketpp::close::status::value code=websocketpp::close::status::normal) |
| bool | isStarted () const |
Friends | |
| class | SeventvEventAPI |
Additional Inherited Members | |
Public Attributes inherited from chatterino::BasicPubSubClient< SeventvEventAPISubscription > | |
| const size_t | maxSubscriptions |
Protected Attributes inherited from chatterino::BasicPubSubClient< SeventvEventAPISubscription > | |
| liveupdates::WebsocketClient & | websocketClient_ |
| chatterino::SeventvEventAPIClient::SeventvEventAPIClient | ( | liveupdates::WebsocketClient & | websocketClient, |
| liveupdates::WebsocketHandle | handle, | ||
| std::chrono::milliseconds | heartbeatInterval | ||
| ) |
| void chatterino::SeventvEventAPIClient::handleHeartbeat | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from chatterino::BasicPubSubClient< SeventvEventAPISubscription >.
| void chatterino::SeventvEventAPIClient::setHeartbeatInterval | ( | int | intervalMs | ) |
|
friend |
1.8.13