Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Request
    • FastlyPendingUpstreamRequest

Index

Constructors

constructor

  • new FastlyPendingUpstreamRequest(pendingRequestHandle: number, backend: string, init: FastlyPendingUpstreamRequestInit): FastlyPendingUpstreamRequest

Properties

_backend

_backend: string

_pendingRequestHandle

_pendingRequestHandle: number

Accessors

bodyUsed

  • get bodyUsed(): boolean
  • Returns boolean

    A boolean representing whether the Body has been consumed already or not.

headers

  • Get the Request headers.

    Returns Headers

    A Headers object of the HTTP Request headers, for the Request.

method

  • get method(): string
  • Get the Request method.

    Returns string

    A string representation of the HTTP request method.

url

  • get url(): string
  • Get the Request URL.

    Returns string

    A string representation of the HTTP Request URL.

Methods

arrayBuffer

  • arrayBuffer(): null | ArrayBuffer
  • Returns null | ArrayBuffer

    an ArrayBuffer for the Body content (if it contains one).

text

  • text(): string
  • Returns string

    a string representation of the Body ArrayBuffer content.

wait

Legend

  • Constructor
  • Property
  • Method

Generated using TypeDoc