Interface RequestOptions

Options that can be passed to each request.

interface RequestOptions {
    skipFailOnErrorCode?: boolean;
}

Hierarchy (view full)

Properties

skipFailOnErrorCode?: boolean

By default, status codes >= 400 are treated as errors, other than in standard fetch. This can be disabled and the standard fetch behaviour restored, by setting this flag.