obby-client for TypeScript
    Preparing search index...

    Type Alias RawMessage

    A parsed protocol line.

    The types are owned rather than borrowed from the input. A borrowed Message<'a> would parse faster, but every consumer of this crate reaches it across a language boundary that cannot carry a Rust lifetime, so the copy has to happen somewhere and here is the only place it happens once.

    type RawMessage = {
        command: string;
        params: string[];
        source: MessageSource | null;
        tags: MessageTags;
    }
    Index
    command: string

    The command or three-digit numeric, as it arrived. Commands are case-insensitive on the wire, so compare with [Message::is] rather than ==.

    params: string[]

    The parameters, with the trailing parameter last and its : removed.

    source: MessageSource | null

    The source, when the line carried one.

    The tag section, empty when the line carried no @.