IncomingRequest class

Inheritance

Constructors

IncomingRequest(PitelUA? ua)

Properties

body String?
getter/setter pairinherited
call_id String?
getter/setter pairinherited
cseq int?
getter/setter pairinherited
data String
getter/setter pairinherited
event ParsedData?
getter/setter pairinherited
from NameAddrHeader?
getter/setter pairinherited
from_tag String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String?, dynamic>?
getter/setter pairinherited
method SipMethod?
getter/setter pairinherited
reason_phrase String?
getter/setter pairinherited
refer_to ↔ dynamic
getter/setter pairinherited
replaces ParsedData
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ruri URI?
getter/setter pair
sdp Map<String, dynamic>?
getter/setter pairinherited
server_transaction TransactionBase?
getter/setter pair
session_expires int?
getter/setter pairinherited
session_expires_refresher String?
getter/setter pairinherited
status_code ↔ dynamic
getter/setter pairinherited
to NameAddrHeader?
getter/setter pairinherited
to_tag String?
getter/setter pairinherited
transport Transport?
getter/setter pair
ua PitelUA?
getter/setter pair
via_branch String?
getter/setter pairinherited

Methods

addHeader(String name, dynamic value) → void
Insert a header of the given name and value into the last position of the header array.
inherited
getHeader(String name) → dynamic
Get the value of the given header name at the given position.
inherited
getHeaders(String name) List
Get the header/s of the given name.
inherited
hasHeader(String name) bool
Verify the existence of the given header.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseHeader(String name, {int idx = 0}) → dynamic
Parse the given header on the given index. -param {String} name header name -param {Number} idx=0 header index -returns {Object|null} Parsed header object, null if the header is not present or in case of a parsing error.
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.
inherited
reply(int code, [String? reason, List? extraHeaders, String? body, Function? onSuccess, Function? onFailure]) → void
Stateful reply. -param {Number} code status code -param {String} reason reason phrase -param {Object} headers extra headers -param {String} body body -param {Function} onSuccess onSuccess callback -param {Function} onFailure onFailure callback
reply_sl(int code, [String? reason]) → void
Stateless reply. -param {Number} code status code -param {String} reason reason phrase
s(String name, {int idx = 0}) → dynamic
Message Header attribute selector. Alias of parseHeader. -param {String} name header name -param {Number} idx=0 header index -returns {Object|null} Parsed header object, null if the header is not present or in case of a parsing error.
inherited
setHeader(String name, dynamic value) → void
Replace the value of the given header by the value. -param {String} name header name -param {String} value header value
inherited
toString() String
A string representation of this object.
inherited

Operators

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