MCPcopy Create free account
hub / github.com/JoaoLopesF/RemoteDebug / WebSocketsClient

Method WebSocketsClient

src/utility/WebSocketsClient.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include "WebSocketsClient.h"
27
28WebSocketsClient::WebSocketsClient() {
29 _cbEvent = NULL;
30 _client.num = 0;
31 _client.cIsClient = true;
32 _client.extraHeaders = WEBSOCKETS_STRING("Origin: file://");
33}
34
35WebSocketsClient::~WebSocketsClient() {
36 disconnect();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected