Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Easy

This is a Node.js wrapper around the binding native Easy class

Hierarchy

Index

Properties

Readonly isInsideMultiHandle

isInsideMultiHandle: boolean

This will be true if the handle was added to a Multi handle.

Readonly isMonitoringSockets

isMonitoringSockets: boolean

This will be true if monitorSocketEvents was called.

Methods

close

  • close(): void

dupHandle

getInfo

monitorSocketEvents

  • monitorSocketEvents(): this

onSocketEvent

  • onSocketEvent(cb: ((error: Error | null, events: SocketState) => void) | null): this

pause

perform

recv

  • recv(storage: Buffer): { bytesReceived: number; code: CurlCode }

reset

send

  • send(data: Buffer): { bytesSent: number; code: CurlCode }

setOpt

unmonitorSocketEvents

  • unmonitorSocketEvents(): this

upkeep

Static strError

Generated using TypeDoc