Class UserAgentClass

Web request user agent class.

Constructors

Methods

Constructors

Methods

  • Set the user agent.

    Parameters

    • value: string

      User agent to set.

    Returns void

  • Set the user agent to the default. Will error if sxcu.api's package.json is not present.

    Parameters

    • OptionalpathOverride: string

      A path to a package.json to use instead of sxcu.api's package.json. The package.json needs to include name, version, and homepage.

    Returns void