Skip to content

Latest commit

 

History

History
127 lines (76 loc) · 1.98 KB

File metadata and controls

127 lines (76 loc) · 1.98 KB
title HttpContent
category Interfaces
titleTemplate API - NativeScript
breadcrumbs
name href
API Index
/api/
name href
Interfaces
/api/#summary-Interfaces
name
HttpContent
layout api
seo
description
Encapsulates the content of an HttpResponse.
<script setup lang="ts"> import { provide } from "vue"; import API_DATA from "./HttpContent.data.json"; provide('API_DATA', API_DATA); </script>
interface HttpContent {
  raw: any;
  toArrayBuffer: () => ArrayBuffer;
  toFile: (destinationFilePath?: string) => File;
  toImage: () => Promise<ImageSource>;
  toJSON: (encoding?: HttpResponseEncoding) => any;
  toString: (encoding?: HttpResponseEncoding) => string;
}

Summary

Properties

<template #title>

raw

<template #title>

toArrayBuffer

<template #title>

toFile

<template #title>

toImage

<template #title>

toJSON

<template #title>

toString