interface Socket {
    get closed(): Promise<void>;
    get opened(): Promise<SocketInfo>;
    get readable(): ReadableStream<any>;
    get writable(): WritableStream<any>;
    close(): Promise<void>;
    startTls(options?): Socket;
}

Accessors

  • get closed(): Promise<void>
  • Returns Promise<void>

Methods

  • Returns Promise<void>