@launchdarkly/react-native-client-sdk - v10.23.2
    Preparing search index...

    Interface Response

    Interface for fetch responses.

    interface Response {
        body?: ResponseBody | null;
        headers: Headers;
        status: number;
        statusText?: string;
        json(): Promise<any>;
        text(): Promise<string>;
    }

    Hierarchy (View Summary)

    Index
    body?: ResponseBody | null

    The response body stream. An implementation provides it for a request made with Options.streaming. It can also provide it for other requests.

    https://developer.mozilla.org/en-US/docs/Web/API/Response/body

    headers: Headers
    status: number
    statusText?: string

    The HTTP status message of the response. Optional so existing implementations remain valid.

    https://developer.mozilla.org/en-US/docs/Web/API/Response/statusText

    • Read the response and provide it as decoded json.

      Returns Promise<any>

    • Read the response and provide it as a string.

      Returns Promise<string>