IncomingMessage class
- Implementers
Constructors
Properties
- body ↔ String?
-
getter/setter pair
- call_id ↔ String?
-
getter/setter pair
- cseq ↔ int?
-
getter/setter pair
- data ↔ String
-
getter/setter pair
- event ↔ ParsedData?
-
getter/setter pair
- from ↔ NameAddrHeader?
-
getter/setter pair
- from_tag ↔ String?
-
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
- reason_phrase ↔ String?
-
getter/setter pair
- refer_to ↔ dynamic
-
getter/setter pair
- replaces ↔ ParsedData
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sdp
↔ Map<
String, dynamic> ? -
getter/setter pair
- session_expires ↔ int?
-
getter/setter pair
- session_expires_refresher ↔ String?
-
getter/setter pair
- status_code ↔ dynamic
-
getter/setter pair
- to ↔ NameAddrHeader?
-
getter/setter pair
- to_tag ↔ String?
-
getter/setter pair
- via_branch ↔ String?
-
getter/setter pair
Methods
-
addHeader(
String name, dynamic value) → void - Insert a header of the given name and value into the last position of the header array.
-
getHeader(
String name) → dynamic - Get the value of the given header name at the given position.
-
getHeaders(
String name) → List - Get the header/s of the given name.
-
hasHeader(
String name) → bool - Verify the existence of the given header.
-
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. -
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.
-
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. -
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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited