Provides extensions for Uri objects and url strings.
More...
|
| static Uri | Root (this Uri uri) |
| | Find the root of the uri (schema, host, and, if required, port)
|
| |
| static string | UriRoot (this string str) |
| | Convert the string to an Uri and return the Root()
|
| |
Provides extensions for Uri objects and url strings.
◆ Root()
| static Uri PeanutButter.Utils.UriExtensions.Root |
( |
this Uri |
uri | ) |
|
|
static |
Find the root of the uri (schema, host, and, if required, port)
- Parameters
-
- Returns
◆ UriRoot()
| static string PeanutButter.Utils.UriExtensions.UriRoot |
( |
this string |
str | ) |
|
|
static |
Convert the string to an Uri and return the Root()
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/UriExtensions.cs