Inherits juce::Thread.
|
std::function< void()> | onConnect |
|
std::function< void()> | onDisconnect |
|
std::function< void(const juce::String &)> | onText |
|
std::function< void(const juce::MemoryBlock &)> | onBinary |
|
◆ AsyncWebsocket()
AsyncWebsocket::AsyncWebsocket |
( |
const juce::URL |
url, |
|
|
const juce::StringPairArray & |
customHeaders = {} |
|
) |
| |
◆ ~AsyncWebsocket()
AsyncWebsocket::~AsyncWebsocket |
( |
| ) |
|
|
override |
◆ connect()
void AsyncWebsocket::connect |
( |
| ) |
|
◆ disconnect()
void AsyncWebsocket::disconnect |
( |
| ) |
|
◆ isConnected()
bool AsyncWebsocket::isConnected |
( |
| ) |
|
◆ setPingInterval()
void AsyncWebsocket::setPingInterval |
( |
int |
seconds | ) |
|
◆ send() [1/2]
void AsyncWebsocket::send |
( |
const juce::String & |
text | ) |
|
◆ send() [2/2]
void AsyncWebsocket::send |
( |
const juce::MemoryBlock & |
binary | ) |
|
◆ sendPing()
void AsyncWebsocket::sendPing |
( |
| ) |
|
◆ onConnect
std::function<void ()> AsyncWebsocket::onConnect |
◆ onDisconnect
std::function<void ()> AsyncWebsocket::onDisconnect |
◆ onText
std::function<void (const juce::String&)> AsyncWebsocket::onText |
◆ onBinary
std::function<void (const juce::MemoryBlock&)> AsyncWebsocket::onBinary |
The documentation for this class was generated from the following file: