tcpsockets/client.py
def on_connection(self, func: Callable) -> None:
        """
        The decorator for setting the start_connection.
        Args:
            func(Callable): The start_connection method for the client.

        Returns:
            None
        """
        # noinspection PyAttributeOutsideInit
        self.start_connection = func

        The decorator for setting the start_connection.
        Args:
            func(Callable): The start_connection method for the client.

        Returns:
            None
        
The decorator for setting the start_connection.
The decorator for setting the start_connection .
def on_connection(self, func: Callable) -> None:
        self.start_connection = func
def on_connection ( self , func : Callable ) -> None : self . start_connection = func
The decorator for setting the start_connection.
The decorator for setting the start_connection .
"""
        The decorator for setting the start_connection.
        Args:
            func(Callable): The start_connection method for the client.

        Returns:
            None
        """ # noinspection PyAttributeOutsideInit
None
self
func
Callable
The start_connection method for the client.
The start_connection method for the client .