UNPKG

@vonage/client-sdk

Version:

The Client SDK is intended to provide a ready solution for developers to build Programmable Conversation applications across multiple Channels including: Messages, Voice, SIP, websockets, and App.

8 lines (7 loc) 545 B
import * as KMPPackage from '../kotlin/clientsdk-clientcore_js'; import vonage from '../utils/vonage'; type HttpHeaders = Record<string, string | number | boolean>; declare class HttpClient implements vonage.HttpClientJS { request(verb: 'get' | 'post' | 'patch' | 'put' | 'options' | 'delete', url: string, headers: HttpHeaders, body: KMPPackage.Nullable<string>, callback: (p0: KMPPackage.Nullable<vonage.HttpClientErrorJS>, p1: KMPPackage.Nullable<vonage.HttpClientResponseJS>) => void): Promise<void>; } export default HttpClient;