Starscream
Starscream copied to clipboard
Need more clarity on compression
Compression is enabled by default, however, compression will only be used if it is supported by the server as well. You may enable compression by adding a compressionHandler
Is it a typo or does it mean compression is enabled even without specifying a compressionHandler?
Have checked the source code and find that the compressionHandler is set to nil by default, and when it is nil compression is not enabled. I also believe it is a little ambiguous about "Compression is enabled by default".