Constructors
constructor
- new FreeSwitchSocket(
options: {
host: string;
logger: Logger;
maxRetryTimeout?: number;
port: number;
},
): FreeSwitchSocket Parameters
- options: { host: string; logger: Logger; maxRetryTimeout?: number; port: number }
host: string
logger: Logger
Optional
maxRetryTimeout?: number
port: number
Properties
Readonly
ref
ref: string = ...
Methods
connect
- connect(): AsyncIterable<Socket, any, any>
Returns AsyncIterable<Socket, any, any>
end
- end(): void
Returns void
Create a new client that will attempt to connect to a FreeSWITCH Event Socket.