Methods
readExactly
- readExactly(number: number): Promise<Buffer>
Parameters
Returns Promise<Buffer>
read
- read(number: number): Promise<Buffer>
Parameters
Returns Promise<Buffer>
readAll
- readAll(): Promise<Buffer>
connect
- connect(port: number, ip: string): Promise<unknown>
Parameters
Returns Promise<unknown>
write
- write(data: Buffer): void
Creates a new connection