MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / skipAuthSpaces

Function skipAuthSpaces

Libraries/HttpClient/HttpClientSession.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static size_t skipAuthSpaces(SC::Span<const char> bytes, size_t offset, size_t end)
52{
53 while (offset < end and (bytes[offset] == ' ' or bytes[offset] == '\t'))
54 {
55 offset += 1;
56 }
57 return offset;
58}
59
60static size_t readAuthToken(SC::Span<const char> bytes, size_t offset, size_t end)
61{

Callers 3

findAuthChallengeEndFunction · 0.85
parseAuthRealmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected