Method
Router.Rewrite
Rewrite(string, string) #
Maps a rewrite route, which redirects all requests that match the given path to another path, keeping the body and headers of the original request.
public void Rewrite(string rewritePath, string rewriteInto)Parameters #
rewritePath string
The incoming HTTP request path.
rewriteInto string
The rewrited URL.