Pinggy SDK - v0.1.3
    Preparing search index...

    Interface HeaderModification

    Configuration for modifying HTTP headers in tunnel requests.

    // Add a custom header
    { key: "X-Custom-Header", value: "my-value", action: "add" }

    // Remove a header
    { key: "X-Unwanted-Header", action: "remove" }

    // Update an existing header
    { key: "User-Agent", value: "MyApp/1.0", action: "update" }
    interface HeaderModification {
        action: "add" | "remove" | "update";
        key: string;
        value?: string;
    }
    Index

    Properties

    Properties

    action: "add" | "remove" | "update"

    The action to perform: add, remove, or update.

    key: string

    The header key.

    value?: string

    The header value (optional, required for add/update).