Interface TlsResponse

Represents a response from the shared library.

interface TlsResponse {
    body: string;
    cookies: Record<string, string>;
    headers: IncomingHttpHeaders;
    id: string;
    sessionId: string;
    status: number;
    target: string;
    usedProtocol: string;
}

Properties

body: string

The body of the response.

cookies: Record<string, string>

Cookies set in the response.

headers: IncomingHttpHeaders

Headers included in the response.

id: string

The unique identifier for the response.

sessionId: string

The session ID associated with the response.

status: number

The HTTP status code of the response.

target: string

The target URL of the response.

usedProtocol: string

The protocol used for the response.