Table of Contents

Class PathAndQueryUtility

Namespace
Fluxzy.Misc
Assembly
Fluxzy.Core.dll

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

urlOrPath ReadOnlySpan<char>

Returns

ReadOnlySpan<char>