A client for interfacing with the SAS9 REST API.

Hierarchy

  • SAS9ApiClient

Constructors

  • Parameters

    • serverUrl: string
    • jobsPath: string
    • Optional httpsAgentOptions: AgentOptions

    Returns SAS9ApiClient

Methods

  • 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>

  • Returns an object containing server URL.

    Returns { serverUrl: string }

    • serverUrl: string
  • Updates server URL which is not null.

    Parameters

    • serverUrl: string

      URL of the server to be set.

    Returns void

Generated using TypeDoc