- Preparing search index...
- The search index is not available
@sasjs/adapter
Constructors
constructor
- new SAS9ApiClient(serverUrl: string, jobsPath: string, httpsAgentOptions?: AgentOptions): SAS9ApiClient
-
Parameters
-
serverUrl: string
-
jobsPath: string
-
Optional
httpsAgentOptions: AgentOptions
Methods
executeScript
- executeScript(linesOfCode: string[], userName: string, password: string): Promise<string>
-
Parameters
-
linesOfCode: string[]
-
userName: string
-
password: string
Returns Promise<string>
getConfig
- getConfig(): {
serverUrl: string;
}
-
Returns {
serverUrl: string;
}
setConfig
- setConfig(serverUrl: string): void
-
Returns void
A client for interfacing with the SAS9 REST API.