Class JsSIP.OutgoingRequest
An instance of this JsSIP.OutgoingRequest
holds a SIP request to be sent.
Instance Attributes
method
String
indicating the SIP request method.
ruri
JsSIP.URI
instance representing the request target URI.
cseq
Number
representing the CSeq number.
call_id
String
representing the Call-ID header field value.
from
JsSIP.NameAddrHeader
representing the From header field value.
to
JsSIP.NameAddrHeader
representing the To header field value.
body
String
representing the request body.
Instance Methods
setHeader
(name, value)
Fills the given header with the given value.
Parameters
name
String
indicating the header name.value
- Header value(s) represented by a
String
or anArray
ofStrings
.
toString
()
Returns a String
with the generated SIP request.