Interface RequestInitLike

stripped down version of RequestInit

interface RequestInitLike {
    body?: string | ArrayBuffer;
    headers?: Record<string, string>;
    method?: RequestMethod;
}

Properties

body?: string | ArrayBuffer

request body

headers?: Record<string, string>

request headers

method?: RequestMethod

request method