get_line Method
Gets a line of text from the server.
Syntax
def get_line() -> str: ...
Remarks
This method gets a line of text from the server. This method is an alternative method of receiving data for line-oriented protocols. The class will block if necessary and then return the received line. accept_data will be automatically set to True when the method is called, and then back to False after a line is received.
Please refer to the single_line_mode property for more information.