C# Class Canonicalize.Strategies.NoWwwStrategy

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

Méthodes publiques

Méthode Description
Apply ( UriBuilder uri ) : void

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

Method Details

Apply() public méthode

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