| title |
HttpContent |
| category |
Interfaces |
| titleTemplate |
API - NativeScript |
| breadcrumbs |
| name |
href |
API Index |
/api/ |
|
| name |
href |
Interfaces |
/api/#summary-Interfaces |
|
|
|
| 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;
}