@gradientedge/commercetools-utils
    Preparing search index...

    Function extractTlsVersion

    • Attempts to extract the negotiated TLS protocol version (e.g. TLSv1.3) from an Axios request/response object. Returns undefined if the request was not made over TLS or the socket information is unavailable.

      Parameters

      • request: unknown

      Returns string | undefined