WPILibC++ 2024.3.2
|
Server options. More...
#include <wpinet/WebSocketServer.h>
Public Attributes | |
std::function< bool(std::string_view)> | checkUrl |
Checker for URL. More... | |
std::function< bool(std::string_view)> | checkHost |
Checker for Host header. More... | |
Server options.
std::function<bool(std::string_view)> wpi::WebSocketServer::ServerOptions::checkHost |
Checker for Host header.
Return true if Host should be accepted. By default all hosts are accepted.
std::function<bool(std::string_view)> wpi::WebSocketServer::ServerOptions::checkUrl |
Checker for URL.
Return true if URL should be accepted. By default all URLs are accepted.