Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 735 Bytes

sip.js.subscriber.subscribe.md

File metadata and controls

28 lines (16 loc) · 735 Bytes

Home > sip.js > Subscriber > subscribe

Subscriber.subscribe() method

Subscribe to event notifications.

Signature:

subscribe(options?: SubscriberSubscribeOptions): Promise<void>;

Parameters

Parameter Type Description
options SubscriberSubscribeOptions

Returns:

Promise<void>

Remarks

Send an initial SUBSCRIBE request if no subscription as been established. Sends a re-SUBSCRIBE request if the subscription is "active".