0.6.0
Added
- Support for custom JSON encode and decode functions
BREAKING
The Socket constructor API has changed to accept an encode and decode closures instead of taking a gson instance. If you still want to use a custom gson instance, you will need to wrap it in and EncodeClosure and DecodeClosure. See Defaults.kt for the defaults as an example.