Skip to content

Interface: IHttpResponseContent

A designer-facing interface that provides HTTP response content helper functions

Hierarchy

  • IHttpResponseContent

Implemented by

Summary

Methods

Class Methods

Inherited Methods

None in the parent class(es).

Methods

getData

getData(): any

Gets the response body

Returns: any


toFile

toFile(destinationFilePath?: string): File

Gets the response body as file Note: This function is for iOS & Android only

Parameters:

Name Type
destinationFilePath? string

Returns: File


toImage

toImage(): any

Gets the response body as native image object Note: This function is for iOS & Android only

Returns: any


toString

toString(): string

Gets the response body as string

Returns: string