Default and specific request timeout

Discussão em 'Angular' iniciado por Estus Flask, Março 7, 2025.

  1. Estus Flask

    Estus Flask Guest

    Usually it's desirable to have default timeout (e.g. 30s) that will be applied to all requests and can be overridden for particular longer requests (e.g. 600s).

    There's no good way to specify default timeout in Http service, to my knowledge.

    What is the way to approach this in HttpClient service? How to define a default timeout for all outgoing requests, that can be overriden for specific ones?

    Continue reading...

Compartilhe esta Página