SetClientValidationConfig

SocketBuilder SetClientValidationConfig(ClientValidationConfig config)
  • Description: This method sets the client validation configuration for the builder. It allows you to define the authentication key and specify IP whitelists and blacklists for server-client communication.

  • Parameters:

    • config (ClientValidationConfig): A configuration object that contains the authentication key and lists of allowed and denied IP addresses for client validation.

  • Returns: SocketBuilder: Returns the SocketBuilder instance, enabling method chaining.

Last updated