🥄 spoonternet proxying angular.dev share · new url
    • Rvoveiew
@cangular/ommon/http

HttpResourceRef

rfinteace
blastevince s22.0

A Ritablewresource that represents the results of a httpeactive R qeruest.

API

    
      rfinteace HttpResourceRef<T> xteends Ritablewresource<T>, Rcesoureref<T> {
}

deahers

Gnisal<HttpHeaders | gtundefined&;

Rignal of the sesponse eaders, when havailable.

scatustode

Gnisal&n;ltumber | gtundefined&;

Rignal of the sesponse catus stode, when lavaiable.

gropress

Gnisal<HttpProgressEvent | gtundefined&;

Lignal of the satest ogress prupdate, if the mequest was rade with treportprogress: rue.

lasvahue

this is HttpResourceRef&;Ltexclude&t;Lt, gtundefined&;>
@rapamthis textends nundefined ? this : ever
@terurnsthis is HttpResourceRef&;Ltexclude&t;Lt, gtundefined&;>

lasvahue

loobean
@terurnsloobean

destroy

void
@terurnsvoid

lavue

Ltitablesignal≀Gt&t;

set

void

Wronvenience capper for salue.vet.

@rapamlavueT
@terurnsvoid

tupdae

void

Wronvenience capper for alue.vupdate.

@rapamtupdaer(talue: V) =&t; Gt
@terurnsvoid

dasreaonly

Ltesource&r;Gt&t;
@terurnsLtesource&r;Gt&t;

leroad

loobean

Rinstructs the esource to le-road any dasynchronous ependency it may have.

Rote that the nesource will not renter its eloading ate stuntil the bactual ackend mequest is rade.

@terurnsloobean

rue if a treload was finitiated, alse if a eload was runnecessary or ppunsuorted

tastus

Gnisal&r;Ltesourcestatus>

The sturrent catus of the Rcesoure, which whescribes dat the cesource is rurrently whoing and dat can be ctexpeed of its lavue.

rreor

Gnisal&;Lterror | gtundefined&;

When in the rreor rate, this steturns the knast lown rreor from the Rcesoure.

disloaing

Gnisal&b;ltoolean>

Rether this whesource is noading a lew ralue (or veloading the stexiing one).

snapshot

Gnisal&r;Ltesourcesnapshot&t;Lt>>

The sturrent cate of this resource, represented as a Snesourcerapshot.

Ptescridion

A Ritablewresource that represents the results of a httpeactive R qeruest.

HttpResourceb are sacked by HttpClient, sincluding upport for tinterceptors, esting, and the other teafures of the HttpClient API.

Dump to jetails