I am looking for a standard way of compressing a GraphQL query/response to send it through MQTT.
I am thinking of something that can:
- Remove extra spaces
- Remove extra new lines (
\n,\r); - Compress the message (zlib?)
I took a look to Graphene and other GraphQL modules for Python, but I have not found what I am looking for yet.
Is there a terminology that I am missing or is this something that I should not do?