Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SAS9ApiClient

A client for interfacing with the SAS9 REST API.

Hierarchy

  • SAS9ApiClient

Constructors

constructor

  • new SAS9ApiClient(serverUrl: string, jobsPath: string, httpsAgentOptions?: https.AgentOptions): SAS9ApiClient

Methods

executeScript

  • executeScript(linesOfCode: string[], userName: string, password: string): Promise<string>
  • 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.

    • password: string

      the password to log into the current SAS server.

    Returns Promise<string>

getConfig

  • getConfig(): object

setConfig

  • setConfig(serverUrl: string): void
  • Updates server URL which is not null.

    Parameters

    • serverUrl: string

      URL of the server to be set.

    Returns void

Generated using TypeDoc