Skip to content

Error: expected class-name before '{' token #695

@Black2vs2

Description

@Black2vs2

Getting an error while trying to import WebSockets to my project.
Import code:

#include <SocketIOclient.h>
#include <WebSocketsClient.h>
#include <WiFiUdp.h>

Error:

In file included from src\main.cpp:19:
lib\arduinoWebSockets-2.3.5\src/SocketIOclient.h:38:51: error: expected class-name before '{' token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions