Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SAS9ApiClient

A client for interfacing with the SAS9 REST API.

Hierarchy

  • SAS9ApiClient

Constructors

constructor

Methods

executeScript

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

    Parameters

    • linesOfCode: string[]

      an array of code lines to execute.

    • serverName: string

      the server to execute the code on.

    • repositoryName: string

      the repository to execute the code in.

    Returns Promise<string>

getConfig

  • getConfig(): object
  • Returns an object containing server URL.

    Returns object

    • serverUrl: string

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