Fake Mirrors
    Preparing search index...

    Class MessageModel

    Represents the message model.

    Hierarchy (View Summary)

    • Creates a new message model instance.

      Parameters

      • campaignId: string

        The ID of the campaign this message belongs to.

      • messageId: string

        The unique identifier for the message.

      • proxyId: string

        The ID of the proxy that processed this message.

      • targetId: string

        The ID of the target that handled this message.

      • sessionId: string

        The ID of the session that generated this message.

      • type:
            | "normal-simple"
            | "normal-stream-request"
            | "normal-stream-response"
            | "websocket"

        The message type.

      • method: "HEAD" | "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS"

        The HTTP method.

      • url: string

        The HTTP request URL.

      • status: number

        The HTTP status code.

      • analyze: string

        The analyze identifier.

      • startTime: number

        The start processing timestamp.

      • finishTime: number

        The finish processing timestamp.

      • createdAt: Date

        The date and time when the message was created.

      Returns MessageModel

    analyze: string

    The analyze identifier.

    campaignId: string

    The ID of the campaign this message belongs to.

    createdAt: Date

    The date and time when the message was created.

    finishTime: number

    The finish processing timestamp.

    messageId: string

    The unique identifier for the message.

    method: "HEAD" | "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS"

    The HTTP method.

    proxyId: string

    The ID of the proxy that processed this message.

    sessionId: string

    The ID of the session that generated this message.

    startTime: number

    The start processing timestamp.

    status: number

    The HTTP status code.

    targetId: string

    The ID of the target that handled this message.

    type:
        | "normal-simple"
        | "normal-stream-request"
        | "normal-stream-response"
        | "websocket"

    The message type.

    url: string

    The HTTP request URL.