s method
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.
-example message.s('via',3).port
Implementation
dynamic s(String name, {int idx = 0}) {
return parseHeader(name, idx: idx);
}