Skip to content

Websocket Client to wss #117

Open
Open
@toJuanito

Description

@toJuanito

Hi, is it possible to communicate through wss protocol?
It works fine for me with ws.

#include <ArduinoJson.h>
#include <HttpClient.h>
#include <SoftwareSerial.h>
#include <Ethernet.h>
#include <WebSocketClient.h>

EthernetClient ethernet;

#include <ArduinoHttpClient.h>
byte mac[] = {0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x02};

char serverAddress[] = "wss://192.168.1.87";  //I dont know if it is possible, seems like not..
int port = 8010;

WebSocketClient client = WebSocketClient(ethernet, serverAddress, port);

Thanks in advance..

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: supportOT: Request for help using the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions