Class RepetierServerClient
Constructors
constructor
- new RepetierServerClient(url: string, apiKey?: string): RepetierServerClient
-
Parameters
-
url: string
-
apiKey: string = ""
Properties
apiKey
apiKey: string = ""
createUser
create
User
: ((this
: RepetierServerClient, login
: string, password
: string, permissions
: Permissions) => Promise<WsResponse<any>>) = Requests.createUser
Type declaration
-
- (this: RepetierServerClient, login: string, password: string, permissions: Permissions): Promise<WsResponse<any>>
-
Parameters
-
-
login: string
-
password: string
-
permissions: Permissions
Returns Promise<WsResponse<any>>
httpUrl
httpUrl: string = ""
move
move
: ((this
: RepetierServerClient, x
: number, y
: number, z
: number, e
: number, speed
: number, relative
?: boolean) => Promise<WsResponse<any>>) = Requests.move
Type declaration
-
- (this: RepetierServerClient, x: number, y: number, z: number, e: number, speed: number, relative?: boolean): Promise<WsResponse<any>>
-
Parameters
-
-
x: number
-
y: number
-
z: number
-
e: number
-
speed: number
-
relative: boolean = true
Returns Promise<WsResponse<any>>
setChamberTemperature
set
Chamber
Temperature
: ((this
: RepetierServerClient, temperature
: number, chamber
?: number) => Promise<WsResponse<any>>) = Requests.setChamberTemperature
setExtruderTemperature
set
Extruder
Temperature
: ((this
: RepetierServerClient, temperature
: number, extruder
?: number) => Promise<WsResponse<any>>) = Requests.setExtruderTemperature
startUpdateFirmwareSettings
updateUser
update
User
: ((this
: RepetierServerClient, login
: string, permissions
: Permissions, password
?: string) => Promise<WsResponse<any>>) = Requests.updateUser
Type declaration
-
- (this: RepetierServerClient, login: string, permissions: Permissions, password?: string): Promise<WsResponse<any>>
-
Parameters
-
-
login: string
-
permissions: Permissions
-
Optional
password: string
Returns Promise<WsResponse<any>>