C# Class Canonicalize.Strategies.NoWwwStrategy

URL canonicalization strategy removing the www domain prefix if present.
Inheritance: IUrlStrategy
Mostrar archivo Open project: schourode/canonicalize Class Usage Examples

Public Methods

Method Description
Apply ( UriBuilder uri ) : void

Removes a prefix of "www." from the host name if present.

Method Details

Apply() public method

Removes a prefix of "www." from the host name if present.
public Apply ( UriBuilder uri ) : void
uri System.UriBuilder The URL to be canonicalized.
return void