set_response_bytes Method
Sets a byte array to be served as a response.
Syntax
def set_response_bytes(connection_id: int, bytes: bytes, content_type: str) -> None: ...
Remarks
Use this property to provide the response content in a byte array.
|
set_response_bytes MethodSets a byte array to be served as a response. Syntaxdef set_response_bytes(connection_id: int, bytes: bytes, content_type: str) -> None: ... RemarksUse this property to provide the response content in a byte array. |