UriParser.match

bool match(string lit) @safe

If the remaining input starts with lit, advance and return true.

Parameters

litLiteral string to match.

Returns

true if lit matched and the cursor advanced, false otherwise.