Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages. 
Interfaces
HttpContent
HttpContent
interface HttpContent {
  raw: any;
  toArrayBuffer: () => ArrayBuffer;
  toFile: (destinationFilePath?: string) => File;
  toImage: () => Promise<ImageSource>;
  toJSON: (encoding?: HttpResponseEncoding) => any;
  toString: (encoding?: HttpResponseEncoding) => string;
}Encapsulates the content of an HttpResponse.
Summary 
Properties 
raw 
 defined in @nativescript/core/http/index.d.ts:140:1
Gets the response body as raw data.
toArrayBuffer 
 defined in @nativescript/core/http/index.d.ts:145:1
toFile 
toFile: (destinationFilePath?: string) => File
 defined in @nativescript/core/http/index.d.ts:165:1
toImage 
toImage: () => Promise<ImageSource>
 defined in @nativescript/core/http/index.d.ts:160:1
toJSON 
toJSON: (encoding?: HttpResponseEncoding) => any
 defined in @nativescript/core/http/index.d.ts:155:1
toString 
toString: (encoding?: HttpResponseEncoding) => string
 defined in @nativescript/core/http/index.d.ts:150:1
- Previous
 - GestureEventDataWithState
 - Next
 - HttpRequestOptions