OptionalallowOptionalbodyOptionalcacheOptionalcontentcontent can be used to pass native custom okhttp3.RequestBody
Optionalcookiesdefault to true. Android and iOS only store cookies in memory! it will be cleared after an app restart
OptionalheadersGets or sets the request headers in JSON format.
Gets or sets the request method.
OptionaloniOS for now
OptionalparamsOptionalresponsedefault to true. Put to false to run response callback on current thread
OptionaltagOptionaltimeoutDefault 10 (seconds).
Gets or sets the request url.
On Android large responses may crash the app (fi. https://httpbin.org/bytes/10000). By setting this to true and when not using useLegacy, we allow large responses on the main thread (which this plugin currently does). Note that once set to true, this policy remains active until the app is killed.