iya-sts
    Preparing search index...
    tlsFor: (origin: string) => TlsVerdict = ...

    Forwards to FederationHttp.tlsFor().

    Type Declaration

      • (origin: string): TlsVerdict
      • Returns the TLS options for one request to an origin under the outbound transport policy.

        Parameters

        • origin: string

          the origin to be dialled

        Returns TlsVerdict

        { ok, why, errorCode, rejectUnauthorized, ca, skipped }; ok: false means a CA file cannot be used and the request is not made