Skip to main content

fromFetchJSON

Types

function fromFetchJSON<GData>(
requestInfo: RequestInfo,
requestInit?: RequestInit,
): IObservable<IFromFetchJSONObservableNotifications<GData>>
type IFromFetchJSONObservableNotifications<GData> = IDefaultNotificationsUnion<GData>;

Definition

Creates an Observable performing an HTTP request using the fetch api, then, converts the response to JSON.


responseToJSONObservablePipe

Alternative: responseToJSON$$$

Inlined: responseToJSONObservable, responseToJSON$$

Types

function responseToJSONObservablePipe<GData>(): IObservablePipe<IThenObservableInNotifications<Response>, IFromFetchJSONObservableNotifications<GData>>

Definition

Converts the Response sent by an Observable of Notifications into JSON.