Did a lot of work on the HTTP server side
This commit is contained in:
@@ -126,6 +126,12 @@ string_view read_to_space(string_view &source);
|
||||
//
|
||||
string_view read_nbytes(string_view &source, int nbytes);
|
||||
|
||||
// Read an ascii identifier from a string_view
|
||||
//
|
||||
// If there's no valid identifier, returns empty string.
|
||||
//
|
||||
string_view read_ascii_identifier(string_view &source);
|
||||
|
||||
// Return true if the string is valid utf-8.
|
||||
bool valid_utf8(string_view s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user