spicetools/api/websocket.h

22 lines
405 B
C
Raw Normal View History

2024-08-28 15:10:34 +00:00
#pragma once
#include <cstdint>
#include <thread>
namespace api {
struct WebSocketControllerState;
class Controller;
class WebSocketController {
public:
WebSocketController(Controller *controller, uint16_t port);
~WebSocketController();
void free_socket();
Controller *controller = nullptr;
WebSocketControllerState *state = nullptr;
};
}