overloadbrief URI‐escape a string.
Synopsis
Declared in <folly/String.h>
enum class UriEscapeMode : unsigned char;
Description
Appends the result to the output string.
Alphanumeric characters and other characters marked as "unreserved" in RFC 3986 ( ‐_.~ ) are left unchanged. In PATH mode, the forward slash (/) is also left unchanged. In QUERY mode, spaces are replaced by '+'. All other characters are percent‐encoded.
Members
Name |
Description |
|
Percent‐encode every reserved character. |
|
Query mode, where spaces become '+'. |
|
Path mode, where the forward slash is left unchanged. |
Created with MrDocs