Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HttpContent

Encapsulates the content of an HttpResponse.

Hierarchy

  • HttpContent

Index

Properties

raw

raw: any

Gets the response body as raw data.

toFile

toFile: function

Gets the response body as file.

Type declaration

    • (destinationFilePath?: string): File
    • Parameters

      • Optional destinationFilePath: string

      Returns File

toImage

toImage: function

Gets the response body as ImageSource.

Type declaration

toJSON

toJSON: function

Gets the response body as JSON object.

Type declaration

toString

toString: function

Gets the response body as string.

Type declaration

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method