I3::Message
Inherits Reference < Object
Represents a message exchanged during a Connection.
Message instances are of one of the following types:
MessageType- sent by the client to the i3 IPC serverReplyType- sent by the i3 IPC server to the client as a responseEventType- sent by the i3 IPC server to the client as an event
Constants
MAGIC = "i3-ipc"
The magic bytes that identify all i3 IPC messages.
Constructors
Creates a new Message with the given type and payload.
Class methods
from_io(io, format = Fmt)
Creates a new instance of Message from the given IO.
Raises an Error on any parsing failure.