https://square.github.io/okhttp/
- get()
- post()
Parameters:
All methods can use these parameters:
- url: String (required)
- data: JSON object - can contain a TiBlob in a post
- header: JSON object
- connectTimeout: int (milliseconds)
- readTimeout: int (milliseconds)
- writeTimeout: int (milliseconds)
- caching: boolean
- cacheSize: int (MB)
- data: protocol, header, body, cached, data, url
- error: timeout (bool), message (string)