FastLED 3.9.15
Loading...
Searching...
No Matches

◆ findCRLF()

fl::optional< size_t > fl::HttpResponseParser::findCRLF ( ) const
private

Definition at line 489 of file http_parser.cpp.hpp.

489 {
490 for (size_t i = 0; i + 1 < mBuffer.size(); i++) {
491 if (mBuffer[i] == '\r' && mBuffer[i + 1] == '\n') {
492 return i;
493 }
494 }
495 return fl::nullopt;
496}
fl::vector< u8 > mBuffer
constexpr nullopt_t nullopt
Definition optional.h:13

References mBuffer, and fl::nullopt.

Referenced by parseHeaders(), and parseStatusLine().

+ Here is the caller graph for this function: