sip.js.subscriptiondelegate.onrefresh.md

September 26, 2022 ยท View on GitHub

Home > sip.js > SubscriptionDelegate > onRefresh

SubscriptionDelegate.onRefresh() method

Sent a SUBSCRIBE request. This includes "auto refresh" in dialog SUBSCRIBE requests only. Thus SUBSCRIBE requests triggered by calls to refresh() or subscribe() will not be provided. Thus the first SUBSCRIBE (the subscription creating SUBSCRIBE) will not be provided.

Signature:

onRefresh?(request: OutgoingSubscribeRequest): void;

Parameters

ParameterTypeDescription
requestOutgoingSubscribeRequestOutgoing SUBSCRIBE request.

Returns:

void