Kernel message header content.

See Messaging in Jupyter.

See also: [[IMessage]]

interface IHeader<T> {
    date: string;
    msg_id: string;
    msg_type: T;
    session: string;
    username: string;
    version: string;
}

Type Parameters

Properties

date: string

ISO 8601 timestamp for when the message is created

msg_id: string

Message id, typically UUID, must be unique per message

msg_type: T

Message type

session: string

Session id, typically UUID, should be unique per session.

username: string

The user sending the message

version: string

The message protocol version, should be 5.1, 5.2, 5.3, etc.