StunHandler constructor

StunHandler(
  1. StunHandlerInput input
)

Creates a STUN handler with the provided configuration

Implementation

StunHandler(StunHandlerInput input)
    : _socket = input.socket,
      _stunAddress = input.address ?? defaultStunConfig.address,
      _stunPort = input.port ?? defaultStunConfig.port;