Method
UrlBuilder.TransformSegments
TransformSegments(Func<string, string?>) #
Applies a transformation function to each URL segment.
public UrlBuilder TransformSegments(Func<string, string?> fn)Parameters #
A function that takes a segment as input and returns the transformed segment, or null to remove the segment.
Returns #
The current UrlBuilder instance, with the segments transformed.