mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-15 16:30:31 +02:00
custom http header validation implementation; minor comment fixes
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* WebSocketServer.ino
|
* WebSocketServerHttpHeaderValidation.ino
|
||||||
*
|
*
|
||||||
* Created on: 22.05.2015
|
* Created on: 08.06.2016
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -128,7 +128,6 @@ void WebSocketsServer::onEvent(WebSocketServerEvent cbEvent) {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Sets the custom http header validator function
|
* Sets the custom http header validator function
|
||||||
* If this functionality is being used, call this function prior to calling WebSocketsServer::begin
|
|
||||||
* @param httpHeaderValidationFunc WebSocketServerHttpHeaderValFunc ///< pointer to the custom http header validation function
|
* @param httpHeaderValidationFunc WebSocketServerHttpHeaderValFunc ///< pointer to the custom http header validation function
|
||||||
* @param mandatoryHttpHeaders const char* ///< the array of named http headers considered to be mandatory / must be present in order for websocket upgrade to succeed
|
* @param mandatoryHttpHeaders const char* ///< the array of named http headers considered to be mandatory / must be present in order for websocket upgrade to succeed
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user