Sisk

Method

Router.Rewrite

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

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.

C#
public void Rewrite(string rewritePath, string rewriteInto)

Parameters #

rewritePath string

The incoming HTTP request path.

rewriteInto string

The rewrited URL.

Type to search the documentation and the API reference.