08 http interceptor

Pubblicato il: 28 giugno 2019
sul canale di: Being Fullstack
38
0

Most interceptors transform the outgoing request before passing it to the next interceptor in the chain, by calling next.handle(transformedReq). An interceptor may transform the response event stream as well, by applying additional RxJS operators on the stream returned by next.handle().

More rarely, an interceptor may handle the request entirely, and compose a new event stream instead of invoking next.handle(). This is acceptable behavior, but keep in mind that further interceptors will be skipped entirely.

It is also rare but valid for an interceptor to return multiple responses on the event stream for a single request.


In questa pagina del sito puoi guardare il video online 08 http interceptor della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Being Fullstack 28 giugno 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 38 volte e gli è piaciuto 0 spettatori. Buona visione!