toProtocolUrl

Converts an instance of HttpUrl into a TracyHttpUrl object by extracting its scheme, host, and path segments, and constructing a new TracyHttpUrlImpl instance.

Return

A TracyHttpUrl representation of the current HttpUrl.