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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eHttpRoute.Types.URLRewrite\u003c/code\u003e class within the Network Services v1 API, which is used to modify a request's URL before forwarding it to its destination.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpRoute.Types.URLRewrite\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various operations like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available: a default constructor \u003ccode\u003eURLRewrite()\u003c/code\u003e and a copy constructor \u003ccode\u003eURLRewrite(HttpRoute.Types.URLRewrite other)\u003c/code\u003e for creating new instances or copying existing ones.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two properties, \u003ccode\u003eHostRewrite\u003c/code\u003e and \u003ccode\u003ePathPrefixRewrite\u003c/code\u003e, 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.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the class is \u003ccode\u003e1.0.0\u003c/code\u003e, while there is also an older version available at \u003ccode\u003e1.0.0-beta01\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]