WiFi Pineapple Python Helpers Class
Table of contents
Introduction
Python API
Functions
def json_to_bytes(message) -> bytes
Use this to convert your json message to bytes before publishing it over the socket.
Parameters
- message: A json serializable list or a dict.
Returns
- bytes