Skip to content

Interface: IHttpResponseContent

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

Summary

Properties

Class Properties

Currently none in this class.

Inherited Properties

Currently none inherited from the parent class(es).

Methods

Class Methods

Inherited Methods

Currently none inherited from 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