Home > sip.js > Publisher > (constructor)
Constructs a new instance of the Publisher
class.
Signature:
constructor(userAgent: UserAgent, targetURI: URI, eventType: string, options?: PublisherOptions);
Parameter | Type | Description |
---|---|---|
userAgent | UserAgent | User agent. See UserAgent for details. |
targetURI | URI | Request URI identifying the target of the message. |
eventType | string | The event type identifying the published document. |
options | PublisherOptions | Options bucket. See PublisherOptions for details. |