UriHandlerT.gstUriHasProtocol

Checks if the protocol of a given valid URI matches protocol.

template UriHandlerT(TStruct)
static
int
gstUriHasProtocol
(
string uri
,
string protocol
)

Parameters

uri string

a URI string

protocol string

a protocol string (e.g. "http")

Return Value

Type: int

TRUE if the protocol matches.

Meta