single_line_mode Property

Special mode for line-oriented protocols.

Syntax

def get_single_line_mode() -> bool: ...
def set_single_line_mode(value: bool) -> None: ...

single_line_mode = property(get_single_line_mode, set_single_line_mode)

Default Value

FALSE

Remarks

When this property is set to True, the class treats the incoming data stream as lines separated by CRLF, CR, or LF. The eol property is ignored.

accept_data will be automatically set to False when this property is set to True. Please refer to the get_line method for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]