Skip to content

possible performance problems #200

@alosdev

Description

@alosdev

inline fun <reified T : Any> Response.toType(mapper: ObjectMapper = default): T? = with(body()?.string()) {

in the following line, the library makes a string out of the response and it loses the purpose of a stream reader. Would it be possible to use the InpputStream to leverage the way how Jackson is working? Also with very large responses, it would raise some memory pressure.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions