SecureBlackbox 2020 Python Edition

Questions / Feedback?

send Method

Sends a string to the server.

Syntax

def send(data_str: str, add_eol: bool) -> None: ...

Remarks

Use this method to send DataStr to the remote command's stdin channel. Set the AddEOL parameter to true to append the end-of-line character to the string automatically.

Note that in synchronous mode this method may block until the whole string is commited to the network connection. In asynchronous mode this method returns immediately; the application is eventually notified that the data has been sent via the on_data_sent event.

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