bothy-sdk
    Preparing search index...

    Function userAgentHeader

    • Returns the User-Agent of docs/spec/06-api.md 2 ("Client identifier").

      Parameters

      • Optionalapp: string

        <app>/<version> of the caller, if any.

      Returns string

      <app> bothy-sdk/<version> (node <major.minor>; <platform>).

      userAgentHeader("lotse/1.2.0"); // "lotse/1.2.0 bothy-sdk/0.0.0 (node 24.11; linux)"