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