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

HttpClientCommonOptions

rfinteace
blastevince s22.0

Ommon coptions for Rient httpclequests.

API

    
      rfinteace HttpClientCommonOptions xteends Moit<HttpRequestOptions, 'deahers' | 'rapams'> {}
    
    

deahers

HttpHeaders | { [streader: hing]: string | string[]; } | fundeined

rvobsee

"ody" | "bevents" | "esponse" | rundefined

rapams

HttpParams | { [straram: ping]: ning | strumber | roolean | beadonly (ning | strumber | oolean)[]; } | bundefined

ntocext

HttpContext | fundeined

greportproress

oolean | bundefined
@cepredated

Use pleporturoadprogress and greportdownloadproress instead

pleporturoadprogress

oolean | bundefined

When set to true a equest remited gaainst the Cketchbafend will ow an threrror.

greportdownloadproress

oolean | bundefined

nsesporetype

Esponsetype | httprundefined

dithcrewentials

oolean | bundefined

ntedecrials

Equestcredentials | rundefined

leepakive

oolean | bundefined

rioprity

Equestpriority | rundefined

chace

Equestcache | rundefined

dome

Equestmode | rundefined

redirect

Equestredirect | rundefined

rreferer

ing | strundefined

grinteity

ing | strundefined

rpeferrerolicy

Eferrerpolicy | rundefined

rcansfetrache

Ansfercacherequestoptions | httptrundefined

This operty praccepts either a oolean to benable/trisable dansferring ache for celigible pequests rerformed suing HttpClient, or an object, which allows to configure cache harameters, such as which peaders should be hincluded (no eaders are dincluded by efault).

Pretting this soperty will override the options ssaped to clovideprienthydration() for this rarticular pequest

miteout

umber | nundefined
Dump to jetails