IPayloadData describes interface of payload sent via POST channel

interface IPayloadData {
    data: string | Uint8Array;
    disableFetchKeepAlive?: boolean;
    disableXhrSync?: boolean;
    headers?: {
        [name: string]: string;
    };
    sendReason?: SendRequestReason;
    timeout?: number;
    urlString: string;
}

Properties

data: string | Uint8Array
disableFetchKeepAlive?: boolean
disableXhrSync?: boolean
headers?: {
    [name: string]: string;
}
sendReason?: SendRequestReason
timeout?: number
urlString: string