@sasjs/adapter
    Preparing search index...

    Class SAS9ApiClient

    A client for interfacing with the SAS9 REST API.

    Index
    • Parameters

      • serverUrl: string
      • jobsPath: string
      • OptionalhttpsAgentOptions: AgentOptions

      Returns SAS9ApiClient

    • Executes code on a SAS9 server.

      Parameters

      • linesOfCode: string[]

        an array of code lines to execute.

      • userName: string

        the user name to log into the current SAS server. Deprecated with the SAS 9 username / password login - see the "SAS 9 credentials" note in the README.

      • password: string

        the password to log into the current SAS server. Deprecated with the SAS 9 username / password login - see the "SAS 9 credentials" note in the README.

      Returns Promise<string>

    • Returns an object containing server URL.

      Returns { serverUrl: string }

    • Updates server URL which is not null.

      Parameters

      • serverUrl: string

        URL of the server to be set.

      Returns void