responsesAsJson property
If true
all the returned responses of httpClient requests will be decoded as JSON.
If false
will treat as response only of Content-Type
is JSON or JavaScript (HttpResponse.isBodyTypeJSON
).
Implementation
final bool responsesAsJson;