Interface: MessageMeta
Metadata attached to each decoded MLLP message.
All fields are readonly, the object is Object.freeze()'d before emission.
Example
server.on('message', ({ payload, meta }) => {
console.log(meta.connectionId, '@', meta.byteOffset, 'warnings:', meta.warnings.length);
});
Properties
byteOffset
readonlybyteOffset:number
Byte offset of the frame start in the connection's data stream.
connectionId
readonlyconnectionId:string
Stable UUID identifying the connection that delivered this message.
warnings
readonlywarnings: readonlyMllpWarning[]
Framing warnings emitted during decoding of this frame.