Struct VonageUrls
- Namespace
- Vonage
- Assembly
- Vonage.dll
Represents Vonage API Urls.
public readonly struct VonageUrls
- Inherited Members
Properties
Nexmo
The Nexmo Api Url.
public Uri Nexmo { get; }
Property Value
Oidc
The Oidc Url.
public Uri Oidc { get; }
Property Value
Rest
The Nexmo REST Url.
public Uri Rest { get; }
Property Value
Video
The Video Api Url.
public Uri Video { get; }
Property Value
Methods
FromConfiguration(IConfiguration)
Creates a set of urls from configuration.
public static VonageUrls FromConfiguration(IConfiguration configuration)
Parameters
configurationIConfigurationThe configuration.
Returns
- VonageUrls
A set of Urls.
Get(Region)
Retrieves a region-specific Url.
public Uri Get(VonageUrls.Region region)
Parameters
regionVonageUrls.RegionThe selected region.
Returns
- Uri
The Url.