* returns an indicator whether the given named header exists in the configured _mandatoryHttpHeaders collection * @param headerName String ///< the name of the header being checked */
| 700 | * @param headerName String ///< the name of the header being checked |
| 701 | */ |
| 702 | bool WebSocketsServer::hasMandatoryHeader(String headerName) { |
| 703 | for (size_t i = 0; i < _mandatoryHttpHeaderCount; i++) { |
| 704 | if (_mandatoryHttpHeaders[i].equalsIgnoreCase(headerName)) |
| 705 | return true; |
| 706 | } |
| 707 | return false; |
| 708 | } |
| 709 | |
| 710 | |
| 711 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected