C# Class Canonicalize.Strategies.NoTrailingSlashStrategy

URL canonicalization strategy removing trailing slash characters from the end of the path.
Inheritance: IUrlStrategy
Mostrar archivo Open project: schourode/canonicalize Class Usage Examples

Public Methods

Method Description
Apply ( UriBuilder uri ) : void

Removes any forward slashes (/) from the end of the part segment of the URL.

Method Details

Apply() public method

Removes any forward slashes (/) from the end of the part segment of the URL.
public Apply ( UriBuilder uri ) : void
uri System.UriBuilder The URL to be canonicalized.
return void