UNPKG

odyssey-spatial-comms

Version:

Drop-in replacement for Dolby/Voxeet SDK using Odyssey Spatial Audio Service

17 lines 547 B
import { Socket } from 'socket.io-client'; import { SDKConfig } from './types'; export declare class ApiClient { private config; private socket; private accessToken; session: any; constructor(config: SDKConfig); setAccessToken(token: string): void; getAccessToken(): string | null; post(endpoint: string, data?: any): Promise<any>; get(endpoint: string): Promise<any>; connectWebSocket(): Promise<Socket>; getWebSocket(): Socket | null; disconnect(): void; } //# sourceMappingURL=api-client.d.ts.map