Fake Mirrors
    Preparing search index...

    Class MessageModel

    Represents a message model.

    Hierarchy (View Summary)

    Constructors

    • Creates a new message model instance.

      Parameters

      • campaignId: string

        The ID of the campaign this message belongs to

      • messageId: string

        The unique identifier of 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 request URL

      • status: number

        The HTTP status code

      • analyze: string

        Analyze identifier

      • startTime: number

        Start timestamp

      • finishTime: number

        Finish timestamp

      • createdAt: Date

        The date and time when the message was created

      Returns MessageModel

    Properties

    analyze: string

    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

    Finish timestamp

    messageId: string

    The unique identifier of 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

    Start 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 request URL

    Accessors

    Methods