Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.53 KB

File metadata and controls

37 lines (25 loc) · 1.53 KB

Home > sip.js > Registerer

Registerer class

A registerer registers a contact for an address of record (outgoing REGISTER).

Signature:

export declare class Registerer 

Constructors

Constructor Modifiers Description
(constructor)(userAgent, options) Constructs a new instance of the Registerer class.

Properties

Property Modifiers Type Description
contacts Array<string> The registered contacts.
retryAfter number | undefined The number of seconds to wait before retrying to register.
state RegistererState The registration state.
stateChange Emitter<RegistererState> Emits when the registerer state changes.

Methods

Method Modifiers Description
dispose() Destructor.
register(options) Sends the REGISTER request.
unregister(options) Sends the REGISTER request with expires equal to zero.