Home > sip.js > PublisherOptions
Options for Publisher constructor.
Signature:
export interface PublisherOptions | Property | Type | Description |
|---|---|---|
| body | string |
|
| contentType | string |
|
| expires | number |
Expire value for the published event. |
| extraHeaders | Array<string> |
Array of extra headers added to the PUBLISH request message. |
| params | { fromDisplayName?: string; fromTag?: string; fromUri?: URI; toDisplayName?: string; toUri?: URI; } |
|
| unpublishOnClose | boolean |
If set true, UA will gracefully unpublish for the event on UA close. |