Skip to main content

fromFetchText

Types

function fromFetchText(
requestInfo: RequestInfo,
requestInit?: RequestInit,
): IObservable<IFromFetchTextObservableNotifications>
type IFromFetchTextObservableNotifications = IDefaultNotificationsUnion<string>;

Definition

Creates an Observable performing an HTTP request using the fetch api, then, converts the response into a string.


responseToTextObservablePipe

Alternative: responseToText$$$

Inlined: responseToTextObservable, responseToText$$

Types

function responseToTextObservablePipe(): IObservablePipe<IThenObservableInNotifications<Response>, IFromFetchTextObservableNotifications>

Definition

Converts the Response sent by an Observable of Notifications into a string.