iya-sts
    Preparing search index...

    Function userAgent

    • Builds the outbound User-Agent, sts/<M.N.O.build> (<component>) in RFC 9110 product form, or sts (<component>) where the build may not be shown.

      Parameters

      • component: any

        optional; what is making the request, put in the comment

      • showBuild: any

        optional; false leaves the version out (mode.publishesBuildDetail()), true or left out puts it in

      Returns string

      the User-Agent header value