/Engine/Source/Runtime/Engine/Public/PacketHandlers/StatelessConnectHandlerComponent.h
Set a callback for notifying of handshake failure (clientside only).
void SetHandshakeFailureCallback ( [FHandshakeFailureFunc](API\Runtime\Core\Templates\TUniqueFunction) && InHandshakeFailureFunc )