Parse a string and return an encoded segment view
Synopsis
Declared in <boost/url/parse_path.hpp>
system::result<segments_encoded_view>
parse_path(core::string_view s) noexcept;Description
This function parses the string and returns the corresponding path object if the string is valid, otherwise returns an error.
BNF
path          = [ "/" ] segment *( "/" segment )Exception Safety
No‐throw guarantee.
Specification
Return Value
A valid view on success, otherwise an error code.
Parameters
| Name | Description | 
| s | The string to parse | 
See Also
Created with MrDocs