Interface HostFetchInit

Request options for hostFetch: method, headers, and a string body.

interface HostFetchInit {
    body?: string;
    headers?: Record<string, string>;
    method?: string;
}

Properties

body?: string

Request body for non-GET/HEAD methods (string).

headers?: Record<string, string>
method?: string