- Preparing search index...
- The search index is not available
OneSDK
Accessors
connected
- get connected(): boolean
-
Returns boolean
Methods
checkLicensed
- checkLicensed(): Promise<boolean>
-
Returns Promise<boolean>
connect
- connect(): Promise<void>
-
Returns Promise<void>
delete
- delete<T>(url, config): Promise<AxiosResponse<any, any>>
-
Parameters
-
url: string
-
config: AxiosRequestConfig<T>
Returns Promise<AxiosResponse<any, any>>
get
- get<T>(url, config): Promise<AxiosResponse<any, any>>
-
Parameters
-
url: string
-
config: AxiosRequestConfig<T>
Returns Promise<AxiosResponse<any, any>>
getCommentStyle
-
Returns {
[key: string]: any;
}
getStyleVariable
- getStyleVariable<T>(name, defaultValue, parser?): T
-
Parameters
-
name: string
-
defaultValue: T
-
parser: ((val) => T) = ...
Returns T
post
- post<T>(url, config): Promise<AxiosResponse<any, any>>
-
Parameters
-
url: string
-
config: AxiosRequestConfig<T>
Returns Promise<AxiosResponse<any, any>>
put
- put<T>(url, config): Promise<AxiosResponse<any, any>>
-
Parameters
-
url: string
-
config: AxiosRequestConfig<T>
Returns Promise<AxiosResponse<any, any>>
ready
- ready(): Promise<void>
-
Returns Promise<void>
reset
- reset(): void
-
Returns void
searchComments
-
Parameters
-
params: {
comments: string[];
services: string[];
}
-
comments: string[]
-
services: string[]
Returns Promise<Comment[]>
setup
- setup(op?): Promise<void>
-
Returns Promise<void>
subscribe
- subscribe(subscriber): number
-
Returns number
unsubscribe
- unsubscribe(subscriberId): void
-
Returns void