Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: IHttpUrl WithHttps(this IHttpUrl, bool)

Declaration

public static IHttpUrl WithHttps(
    this IHttpUrl url,
    bool https
)

Summary

Returns a new URL consisting of the specified URL but with the protocol changed.

Parameters

this IHttpUrlurl Source URL.
boolhttps True to change the protocol to https; otherwise http.