C# Class Canonicalize.Strategies.WwwStrategy

URL canonicalization strategy ensuring a host name including the www domain prefix.
Inheritance: IUrlStrategy
Show file Open project: schourode/canonicalize Class Usage Examples

Public Methods

Method Description
Apply ( UriBuilder uri ) : void

Adds "www." to the beginning of the host name, if not present.

Method Details

Apply() public method

Adds "www." to the beginning of the host name, if not present.
public Apply ( UriBuilder uri ) : void
uri System.UriBuilder The URL to be canonicalized.
return void