A Listener is a generic network listener for stream-oriented protocols.

Multiple goroutines may invoke methods on a Listener simultaneously.

Hierarchy

  • Listener

Indexable

[key: string]: any

Methods

Methods

  • Close closes the listener. Any blocked Accept operations will be unblocked and return errors.

    Returns void

Generated using TypeDoc