Class SIPSchemesType
Helper functions for dealing with SIP schemes
Inherited Members
Namespace: SipLib.Core
Assembly: SipLib.dll
Syntax
public class SIPSchemesType
Methods
| Edit this page View SourceGetSchemeType(string)
Maps a string version of the SIP scheme to the enum equivalent. Only call this function if IsAllowedScheme() returns true.
Declaration
public static SIPSchemesEnum GetSchemeType(string schemeType)
Parameters
Type | Name | Description |
---|---|---|
string | schemeType | Input string |
Returns
Type | Description |
---|---|
SIPSchemesEnum | Returns the enum equivalent |
IsAllowedScheme(string)
Determines if a URI scheme is supported
Declaration
public static bool IsAllowedScheme(string schemeType)
Parameters
Type | Name | Description |
---|---|---|
string | schemeType | String containing the URI scheme |
Returns
Type | Description |
---|---|
bool | Return true if the scheme is supported or false if it is not. |