Options
All
  • Public
  • Public/Protected
  • All
Menu

Module IAcceptor<State, Provider>

Type parameters

  • State: State

  • Provider: object

Hierarchy

Implemented by

Index

Enumerations

Properties

Functions

Methods

Properties

state

state: State

Current state.

Functions

inspect

  • inspect(state: State): Error | null

Methods

accept

  • accept(provider: Provider | null): Promise<void>
  • Accept connection.

    Accept, permit the client's, connection with this server and start interaction.

    Parameters

    • provider: Provider | null

      An object providing features to remote system.

    Returns Promise<void>

Generated using TypeDoc