C# Class SSLGhost.Helpers.Html

Afficher le fichier Open project: primaryobjects/SSL-Ghost

Méthodes publiques

Méthode Description
GetHttpOrHttps ( this helper ) : string

Determines whether to enable HTTP or HTTPS links. This method is used on views with sensitive forms, to allow disabling HTTPS for development by changing their URL and disabling the RequireHttpsByConfig attribute.

Method Details

GetHttpOrHttps() public static méthode

Determines whether to enable HTTP or HTTPS links. This method is used on views with sensitive forms, to allow disabling HTTPS for development by changing their URL and disabling the RequireHttpsByConfig attribute.
public static GetHttpOrHttps ( this helper ) : string
helper this
Résultat string