Request method, such as INVITE or BYE.
Request-URI, so the address the request is sent to.
The UA that sends the request.
Optionalparams: OutgoingRequestParams | nullValues that take priority over the ones the UA is configured with.
OptionalextraHeaders: string[] | nullWhole Name: value header field lines to add to
the request.
Optionalbody: stringBody of the request, if any.
The UA that sends the request.
Header fields set by the library, indexed by their capitalized name. A header field may appear several times, hence the array.
Request method, such as INVITE or BYE.
The request target URI.
OptionalbodyBody of the request, undefined when it carries none.
Header fields the application added through the extraHeaders option,
each a whole Name: value line written as given.
Value of the To header field.
Value of the From header field.
Value of the Call-ID header field.
The CSeq number.
Optionalsdpdeclare makes TypeScript generate no field declaration for
these, so they do not become own properties set to undefined on every
instance, which is what useDefineForClassFields would otherwise do.
sdp is created by parseSDP() and transaction is assigned by
Transactions when the request is sent.
OptionaltransactionClient transaction the request is sent over, assigned once it is sent.
Replace the given header field by the given value.
Header field name, which gets capitalized as it is written in SIP messages.
A single value or several of them, one per header field line.
Get the value of the first header field of the given name.
undefined if the request has no such header field.
Get the values of every header field of the given name.
An empty array if the request has no such header field.
Whether the request carries a header field of the given name.
Parse the body of the request as a session description and cache the result in OutgoingRequest.sdp.
Optionalforce: booleanParse again even if the body was already parsed.
The request as it travels on the wire.
A copy of the request whose header fields can be modified without affecting the original.
Holds a SIP request to be sent.