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

Method HttpURLQueryIterator

Libraries/Http/HttpURLParser.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11// - `[` and `]` (IPv6 brackets) - code points 91, 93
12
13SC::HttpURLQueryIterator::HttpURLQueryIterator(StringSpan query) : search(query)
14{
15 if (search.sizeInBytes() > 0 and search.bytesWithoutTerminator()[0] == '?')
16 {
17 cursor = 1;
18 }
19}
20
21bool SC::HttpURLQueryIterator::next(HttpURLQueryItem& item)
22{

Callers

nothing calls this directly

Calls 1

sizeInBytesMethod · 0.45

Tested by

no test coverage detected