copper-cti - v1.0.0
    Preparing search index...

    Interface Packet

    サーバーから受信した CTIP2 レスポンスパケットを表すインターフェース

    interface Packet {
        args?: string[];
        block_id?: number;
        bytes?: Buffer<ArrayBufferLike>;
        code?: number;
        encoding?: string;
        length?: number;
        message?: string;
        mime_type?: string;
        mode?: number;
        type: number;
        uri?: string;
    }
    Index

    Properties

    args?: string[]

    メッセージの追加引数

    block_id?: number

    ブロック操作の対象ブロック ID

    bytes?: Buffer<ArrayBufferLike>

    ブロックデータまたはシリアルデータのバイナリペイロード

    code?: number

    メッセージまたは中断コード

    encoding?: string

    コンテンツのエンコーディング (例: UTF-8)

    length?: number

    コンテンツの全体バイト長。不明の場合は -1

    message?: string

    メッセージ本文

    mime_type?: string

    コンテンツの MIME タイプ (例: text/html, text/css)

    mode?: number

    中断モード (RES_ABORT のみ: 0 = 出力フラッシュ後中断、それ以外 = 即時中断)

    type: number

    レスポンスタイプ (MSG.RES_* 定数のいずれか)

    uri?: string

    ドキュメントまたはリソースの URI