The message as it arrived on the wire.
Header fields of the message, indexed by their capitalized name. Each entry keeps the raw value and, once read, its parsed form.
Method of the incoming SIP message. For a response, the method of the request it answers.
OptionalviaValue of the topmost Via header field.
Optionalvia_Branch parameter of the topmost Via header field, which identifies the transaction.
Optionalcall_Value of the Call-ID header field.
OptionalcseqSequence number of the CSeq header field.
Value of the From header field of the incoming SIP message.
Optionalfrom_Tag parameter of the From header field.
Value of the To header field of the incoming SIP message.
Optionalto_Tag parameter of the To header field.
Body of the SIP message, an empty string when it carries none.
Body parsed as a session description, null until
IncomingMessage.parseSDP is called.
Optionalsession_Interval (in seconds) of the Session-Expires header field, only set when the message carries one.
Optionalsession_Refresher parameter of the Session-Expires header field, so which side refreshes the session. Only set when the message carries one.
Optionalrefer_Value of the Refer-To header field, only set when the message carries one.
OptionalreplacesValue of the Replaces header field, only set when the message carries one.
OptionaleventValue of the Event header field, only set when the message carries one.
Status code of the response, between 100 and 699.
Reason phrase of the response, as the peer wrote it.
StaticaddInsert a header of the given name and value into the last position of the given header store.
StaticsetReplace the value of the given header by the value.
StaticgetGet the value of the given header name at the first position, or undefined if the header field is not present.
StaticgetStatichasVerify the existence of the given header.
StaticparseParse the given header on the given index, caching the result. Returns undefined if the header field is not present or cannot be parsed.
Insert a header of the given name and value into the last position of the header array.
Get the value of the given header name at the given position.
Get the header/s of the given name.
Verify the existence of the given header.
Parse the header field of the given name at the given position.
Header field name.
Position among the header fields of that name.
undefined if the message has no such header field or it
cannot be parsed.
Alias of IncomingMessage.parseHeader.
Optionalidx: numberReplace every header field of the given name by a single one with the given value.
Parse the body of the message as a session description and cache the result in IncomingMessage.sdp.
Optionalforce: booleanParse again even if the body was already parsed.
The message as it arrived on the wire.
Holds a received SIP response.