Class PathAndQueryUtility
This is a simple helper that aims to provide a way to extract the path and query from a URL. We use this to have 0 allocations when we need to extract the path and query from a URL for plain HTTP.
public static class PathAndQueryUtility
- Inheritance
-
PathAndQueryUtility
- Inherited Members
Methods
Parse(ReadOnlySpan<char>)
public static ReadOnlySpan<char> Parse(ReadOnlySpan<char> urlOrPath)
Parameters
urlOrPathReadOnlySpan<char>