GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Tutorials
  • Playground
  • Reference
  • code
  • WritableResource
  • Signal
  • HttpHeaders
  • HttpProgressEvent

This view

  • Original page
  • New address

GeezerVison is showing angular.dev — HttpResourceRef • Angular

API

    
      interface HttpResourceRef<T> extends WritableResource<T>, ResourceRef<T> {
}

Signal of the response headers, when available.

Signal of the response status code, when available.

Signal of the latest progress update, if the request was made with reportProgress: true.

@paramthisT extends undefined ? this : never
@returnsthis is HttpResourceRef<Exclude<T, undefined>>
@returnsboolean
@returnsvoid

Convenience wrapper for value.set.

@paramvalueT
@returnsvoid

Convenience wrapper for value.update.

@paramupdater(value: T) => T
@returnsvoid
@returnsResource<T>

Instructs the resource to re-load any asynchronous dependency it may have.

Note that the resource will not enter its reloading state until the actual backend request is made.

@returnsboolean

true if a reload was initiated, false if a reload was unnecessary or unsupported

The current status of the Resource, which describes what the resource is currently doing and what can be expected of its value.

When in the error state, this returns the last known error from the Resource.

Whether this resource is loading a new value (or reloading the existing one).

The current state of this resource, represented as a ResourceSnapshot.

Description

A WritableResource that represents the results of a reactive HTTP request.

HttpResources are backed by HttpClient, including support for interceptors, testing, and the other features of the HttpClient API.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.