Interface: SecurityWarning
Frozen payload of the 'securityWarning' event, emitted by both
MllpClient (MLLP_TLS_VERIFY_DISABLED) and MllpServer
(MLLP_BIND_ALL_INTERFACES).
Never carries payload bytes or PHI, only routing metadata (host/port) and a fixed, static message string.
Example
client.on('securityWarning', (w: SecurityWarning) => {
logger.warn({ code: w.code, host: w.host, port: w.port });
});
Properties
code
readonlycode:SecurityWarningCode
The stable security-warning code.
host
readonlyhost:string
Host associated with the warning (the target host for clients; the bind host for servers).
message
readonlymessage:string
Fixed, human-readable description. Never contains payload bytes or PHI.
port
readonlyport:number
Port associated with the warning.
timestamp
readonlytimestamp:Date
Wall-clock time at point of emission.