Skip to main content
Opt a connection into MessagePack for lower bandwidth on high-volume channels. Two rules: (a) everything after your set_format, starting with the format_set confirmation itself, arrives as binary MessagePack, so flip your decoder the moment you send the request (b) switch while the socket is quiet (right after connect, before subscribing). You can keep sending plain JSON text, the server decodes text as JSON and binary as MessagePack independently of the outbound format.