public static UseHttps ( this httpReq ) : bool | ||
httpReq | this | |
return | bool |
public static bool UseHttps(this IRequest httpReq)
{
return HostContext.Config.UseHttpsLinks ||
httpReq.GetHeader(HttpHeaders.XForwardedProtocol) == "https";
}