SetMessageConfig

SocketBuilder SetMessageConfig(MessageConfig config)
  • Description: This method sets the message configuration for the builder. It allows you to define how messages will be processed, including whether compression should be applied and the buffer size used for message handling.

  • Parameters:

    • config (MessageConfig): A configuration object that holds message processing settings, including the buffer size and whether compression should be enabled.

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

Last updated