You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The guide suggests using removed hackney.body to get response body.
%% 4. Get response headers
{ok, Status, RespHeaders, ConnPid} = hackney:start_response(ConnPid),
%% 5. Read response body
{ok, RespBody} = hackney:body(ConnPid),
However, hackney.body no longer exists. Is there an alternative way to get the entire response body (without streaming) from the PID (after request streaming)?
The
hackney:bodyremoved in version 3 is still mentioned:The guide suggests using removed
hackney.bodyto get response body.However,
hackney.bodyno longer exists. Is there an alternative way to get the entire response body (without streaming) from the PID (after request streaming)?