Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 644 Bytes

File metadata and controls

32 lines (18 loc) · 644 Bytes

Home > sip.js > UserAgent > makeURI

UserAgent.makeURI() method

Create a URI instance from a string.

Signature:

static makeURI(uri: string): URI | undefined;

Parameters

Parameter Type Description
uri string The string to parse.

Returns:

URI | undefined

Example

const uri = UserAgent.makeURI("sip:edgar@example.com");