We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff54260 commit 7469ba5Copy full SHA for 7469ba5
include/ws_client/URL.hpp
@@ -118,9 +118,9 @@ class URL
118
119
/**
120
* Parses the passed URL string into a `URL` object.
121
- * Use this method to create a `URL` object from a string.
122
- * The constructor is private, so this is the only way to create a `URL` object
123
- * in order to be able to return an error if the URL is invalid.
+ * Use this method to create a `URL` object from a `string_view`.
+ * The constructor is private, so this is the only way to create an `URL` object
+ * in order to return an error if the URL is invalid without using exceptions.
124
*/
125
[[nodiscard]] static expected<URL, WSError> parse(string_view url) noexcept
126
{
0 commit comments