Class Socket

Hierarchy

  • Socket

Properties

closed: Promise<void>

Methods

  • Closes the socket and its underlying connection.

    Parameters

    • Optional reason: any

    Returns Promise<void>

  • Enables opportunistic TLS (otherwise known as StartTLS) which is a requirement for some protocols (primarily postgres/mysql and other DB protocols).

    Returns Socket

Generated using TypeDoc