Skip to main content

@wildix/wim-voicebots-client > VoiceBotsClient

VoiceBotsClient class

Signature:

export declare class VoiceBotsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig> 

Extends: __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, VoiceBotsClientResolvedConfig>

Constructors

Constructor

Modifiers

Description

(constructor)([configuration])

Constructs a new instance of the VoiceBotsClient class

Properties

Property

Modifiers

Type

Description

config

readonly

VoiceBotsClientResolvedConfig

The resolved configuration of VoiceBotsClient class. This is resolved and normalized from the constructor configuration interface.

Methods

Method

Modifiers

Description

destroy()

Destroy underlying resources, like sockets. It's usually not necessary to do this. However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. Otherwise, sockets might stay open for quite a long time before the server terminates them.