interceptSecured abstract method

bool interceptSecured(
  1. bool isInitiator,
  2. PeerId peerId,
  3. Conn conn
)

Tests whether a given Conn, now authenticated, is allowed.

This is called by the upgrader, after it has performed the security handshake, and before it negotiates the muxer, or by the directly by the transport, at the exact same checkpoint.

Implementation

bool interceptSecured(bool isInitiator, PeerId peerId, Conn conn);