sip.js.responseoptions.md

September 26, 2022 ยท View on GitHub

Home > sip.js > ResponseOptions

ResponseOptions interface

Response options bucket.

Signature:

export interface ResponseOptions 

Properties

PropertyModifiersTypeDescription
bodyBodyBody to include in the message.
extraHeadersArray<string>Extra headers to include in the message.
reasonPhrasestringReason phrase of the response.
statusCodenumberStatus code of the response.
supportedArray<string>Support options tags for Supported header.
toTagstringTo tag of the response. If not provided, one is generated.
userAgentstringUser agent string for User-Agent header.