aboutsummaryrefslogtreecommitdiff
path: root/include/Uri
diff options
context:
space:
mode:
authorRichard Walters <rwalters@digitalstirling.com>2018-06-30 20:55:44 -0700
committerRichard Walters <rwalters@digitalstirling.com>2018-06-30 20:55:44 -0700
commit58e2beb7717cf724ae37e03f2e5bf3afbfc23a35 (patch)
tree6d56372959fb135e1f37717d9e9ffcb24658efd7 /include/Uri
parenta84a28c61ff44f714edf31e77500d796e3bd4ce4 (diff)
Uri: fix mistakes from last session
* Parts of a path are called "segments", not "steps", in the RFC. * The RFC specifies that path separators are always forward slashes, so don't support other separators.
Diffstat (limited to 'include/Uri')
-rw-r--r--include/Uri/Uri.hpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/include/Uri/Uri.hpp b/include/Uri/Uri.hpp
index 6103bff..fb1e5c8 100644
--- a/include/Uri/Uri.hpp
+++ b/include/Uri/Uri.hpp
@@ -36,16 +36,6 @@ namespace Uri {
Uri();
/**
- * This method sets the character or character sequence
- * that should be interpreted as a path delimiter.
- *
- * @param[in] newPathDelimiter
- * This is the character or character sequence
- * that should be interpreted as a path delimiter.
- */
- void SetPathDelimiter(const std::string& newPathDelimiter);
-
- /**
* This method builds the URI from the elements parsed
* from the given string rendering of a URI.
*
@@ -82,15 +72,15 @@ namespace Uri {
/**
* This method returns the "path" element of the URI,
- * as a sequence of steps.
+ * as a sequence of segments.
*
* @note
- * If the first step of the path is an empty string,
+ * If the first segment of the path is an empty string,
* then the URI has an absolute path.
*
* @return
* The "path" element of the URI is returned
- * as a sequence of steps.
+ * as a sequence of segments.
*/
std::vector< std::string > GetPath() const;