Cashu-TS - v4.13.0
    Preparing search index...

    Function setGlobalRequestOptions

    • An object containing any custom settings that you want to apply to every mint request.

      Parameters

      Returns void

      RequestInit fields (cache, credentials, mode etc) override the per-call value: they are process-wide transport policy. Library options (requestTimeout, NUT-19 policy) are defaults a per-call value overrides. headers merge, per-call wins per key; redirect defaults to error on requests with a body, and is forced to error on requests carrying auth headers.