OutgoingRequest class

-param {String} method request method -param {String} ruri request uri -param {UA} ua -param {Object} params parameters that will have priority over ua.configuration parameters:

  • cseq, call_id, from_tag, from_uri, from_display_name, to_uri, to_tag, route_set -param {Object} headers extra headers -param {String} body
Implementers

Constructors

OutgoingRequest(SipMethod? method, URI? ruri, PitelUA? ua, [Map<String, dynamic>? params, List? extraHeaders, String? body])

Properties

body String?
getter/setter pair
call_id String?
getter/setter pair
cseq int?
getter/setter pair
extraHeaders List
getter/setter pair
from NameAddrHeader?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String?, dynamic>
getter/setter pair
method SipMethod?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ruri URI?
getter/setter pair
sdp Map<String, dynamic>?
getter/setter pair
to NameAddrHeader?
getter/setter pair
transaction ↔ dynamic
getter/setter pair
ua PitelUA?
getter/setter pair

Methods

clone() OutgoingRequest
getHeader(String name) → dynamic
Get the value of the given header name at the given position. -param {String} name header name -returns {String|null} Returns the specified header, null if header doesn't exist.
getHeaders(String name) List
Get the header/s of the given name. -param {String} name header name -returns {Array} Array with all the headers of the specified name.
hasHeader(String name) bool
Verify the existence of the given header. -param {String} name header name -returns {boolean} true if header with given name exists, false otherwise
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseSDP({bool force = false}) Map<String, dynamic>?
Parse the current body as a SDP and store the resulting object into sdp. -param {Boolean} force: Parse even if sdp already exists.
setHeader(String name, dynamic value) → void
Replace the the given header by the given value. -param {String} name header name -param {String | Array} value header value
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited