yolkbot
    Preparing search index...

    Interface xfetchResponse

    The response to an xfetch request

    interface xfetchResponse {
        json: () => Promise<Record<string, any>>;
        text: () => Promise<string>;
    }
    Index

    Properties

    Properties

    json: () => Promise<Record<string, any>>

    The response in JSON format. Throws an error if not JSON parseable

    text: () => Promise<string>

    The response in Text format