Constructors
constructor
-
Parameters
Properties
options
options: any
urlBase
urlBase: any
Accessors
apiVersion
-
Returns string
Methods
getState
- getState(callback: (val: { state: "online" | "offline" }) => void): Promise<any>
-
Parameters
-
callback: (val: { state: "online" | "offline" }) => void
-
- (val: { state: "online" | "offline" }): void
-
Parameters
-
val: { state: "online" | "offline" }
-
state: "online" | "offline"
Returns void
Returns Promise<any>
getStateWait
- getStateWait(): Promise<{ state: "online" | "offline" }>
-
Returns Promise<{ state: "online" | "offline" }>
postJsonWait
- postJsonWait(json: any, callback: (result: any) => void): Promise<any>
-
Parameters
-
json: any
-
callback: (result: any) => void
Returns Promise<any>
obniz.js major version string