Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
WebSocketServer::Config Struct Reference

Server configuration. More...

#include <ws_server.h>

Collaboration diagram for WebSocketServer::Config:
[legend]

Public Attributes

std::string bindAddress {"127.0.0.1"}
 Local address to bind. Loopback serves only this machine; "0.0.0.0" serves the network.
 
uint16_t port = 62281
 TCP port to listen on (TLS).
 
std::string certFile
 Path to the TLS certificate (PEM).
 
std::string keyFile
 Path to the TLS private key (PEM).
 

Detailed Description

Server configuration.

Member Data Documentation

◆ bindAddress

std::string WebSocketServer::Config::bindAddress {"127.0.0.1"}

Local address to bind. Loopback serves only this machine; "0.0.0.0" serves the network.

◆ certFile

std::string WebSocketServer::Config::certFile

Path to the TLS certificate (PEM).

◆ keyFile

std::string WebSocketServer::Config::keyFile

Path to the TLS private key (PEM).

◆ port

uint16_t WebSocketServer::Config::port = 62281

TCP port to listen on (TLS).


The documentation for this struct was generated from the following file: