@octokit/types
    Preparing search index...

    Interface RequestRequestOptions

    Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled

    interface RequestRequestOptions {
        fetch?: any;
        parseSuccessResponseBody?: boolean;
        redirect?: "error" | "follow" | "manual";
        signal?: AbortSignal;
        [option: string]: any;
    }

    Indexable

    • [option: string]: any
    Index

    Properties

    fetch?: any

    Custom replacement for built-in fetch method. Useful for testing or request hooks.

    parseSuccessResponseBody?: boolean

    If set to false, the response body will not be parsed and will be returned as a stream.

    redirect?: "error" | "follow" | "manual"
    signal?: AbortSignal

    Use an AbortController instance to cancel a request. In node you can only cancel streamed requests.