|
static WebSocket * | fromURL (const juce::String &url, const juce::String &origin={}) |
|
static WebSocket * | fromURLNoMask (const juce::String &url, const juce::String &origin={}) |
|
static WebSocket * | fromURL (const juce::String &url, bool useMask, const juce::String &origin) |
|
static WebSocket * | fromURL (const juce::String &url, const juce::String &origin, const juce::StringPairArray &customHeaders) |
|
◆ ReadyStateValues
Enumerator |
---|
CLOSING | |
CLOSED | |
OPEN | |
◆ ~WebSocket()
WebSocket::~WebSocket |
( |
| ) |
|
◆ fromURL() [1/3]
static WebSocket* WebSocket::fromURL |
( |
const juce::String & |
url, |
|
|
const juce::String & |
origin = {} |
|
) |
| |
|
static |
◆ fromURLNoMask()
static WebSocket* WebSocket::fromURLNoMask |
( |
const juce::String & |
url, |
|
|
const juce::String & |
origin = {} |
|
) |
| |
|
static |
◆ fromURL() [2/3]
static WebSocket* WebSocket::fromURL |
( |
const juce::String & |
url, |
|
|
bool |
useMask, |
|
|
const juce::String & |
origin |
|
) |
| |
|
static |
◆ fromURL() [3/3]
static WebSocket* WebSocket::fromURL |
( |
const juce::String & |
url, |
|
|
const juce::String & |
origin, |
|
|
const juce::StringPairArray & |
customHeaders |
|
) |
| |
|
static |
◆ readIncoming()
bool WebSocket::readIncoming |
( |
| ) |
|
◆ poll()
void WebSocket::poll |
( |
int |
timeout = 0 | ) |
|
◆ send()
void WebSocket::send |
( |
const juce::String & |
message | ) |
|
◆ sendBinary() [1/2]
void WebSocket::sendBinary |
( |
const juce::String & |
message | ) |
|
◆ sendBinary() [2/2]
void WebSocket::sendBinary |
( |
const juce::MemoryBlock & |
message | ) |
|
◆ sendPing()
void WebSocket::sendPing |
( |
| ) |
|
◆ close()
void WebSocket::close |
( |
| ) |
|
◆ getReadyState()
◆ dispatch()
void WebSocket::dispatch |
( |
std::function< void(const juce::MemoryBlock &message, bool isBinary)> |
callback | ) |
|
◆ readyStateValues
The documentation for this class was generated from the following file: