public sealed class HttpRoute.Types.URLRewrite : IMessage<HttpRoute.Types.URLRewrite>, IEquatable<HttpRoute.Types.URLRewrite>, IDeepCloneable<HttpRoute.Types.URLRewrite>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class HttpRoute.Types.URLRewrite.
The specification for modifying the URL of the request, prior to forwarding
the request to the destination.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This documentation covers the `HttpRoute.Types.URLRewrite` class within the Network Services v1 API, which is used to modify a request's URL before forwarding it to its destination."],["The `HttpRoute.Types.URLRewrite` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for various operations like deep cloning and message handling."],["There are two constructors available: a default constructor `URLRewrite()` and a copy constructor `URLRewrite(HttpRoute.Types.URLRewrite other)` for creating new instances or copying existing ones."],["The class provides two properties, `HostRewrite` and `PathPrefixRewrite`, both of which are strings and allow setting the request's host header and the matching portion of the request's path, respectively, before the request is forwarded."],["The latest version of the class is `1.0.0`, while there is also an older version available at `1.0.0-beta01`."]]],[]]