Skip to content

Commit 97443ae

Browse files
committed
custom http header validation implementation; minor comment fixes
1 parent e589b40 commit 97443ae

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/WebSocketServer/WebSocketServerHttpHeaderValidation.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* WebSocketServer.ino
2+
* WebSocketServerHttpHeaderValidation.ino
33
*
4-
* Created on: 22.05.2015
4+
* Created on: 08.06.2016
55
*
66
*/
77

src/WebSocketsServer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ void WebSocketsServer::onEvent(WebSocketServerEvent cbEvent) {
128128

129129
/*
130130
* Sets the custom http header validator function
131-
* If this functionality is being used, call this function prior to calling WebSocketsServer::begin
132131
* @param httpHeaderValidationFunc WebSocketServerHttpHeaderValFunc ///< pointer to the custom http header validation function
133132
* @param mandatoryHttpHeaders const char* ///< the array of named http headers considered to be mandatory / must be present in order for websocket upgrade to succeed
134133
*/

0 commit comments

Comments
 (0)