Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SAS9ApiClient

A client for interfacing with the SAS9 REST API

Hierarchy

  • SAS9ApiClient

Constructors

constructor

  • Parameters

    • serverUrl: string

    Returns SAS9ApiClient

Methods

executeScript

  • executeScript(linesOfCode: string[], serverName: string, repositoryName: string): Promise<string>
  • Executes code on a SAS9 server.

    Parameters

    • linesOfCode: string[]

      an array of lines of code to execute

    • serverName: string

      the server to execute the code on

    • repositoryName: string

      the repository to execute the code on

    Returns Promise<string>

getConfig

  • getConfig(): object
  • returns on object containing the server URL

    Returns object

    • serverUrl: string

setConfig

  • setConfig(serverUrl: string): void
  • Updates serverurl which is not null

    Parameters

    • serverUrl: string

      the URL of the server.

    Returns void

Generated using TypeDoc