algesten / ureq

A simple, safe HTTP client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example of requesting a continuous stream

CarbonPool opened this issue · comments

I need to request an http address of type multipart/x-mixed-replace, he keeps returning streaming content, I didn't find how this library implements it, any help is greatly appreciated.

Hey @CarbonPool thank you for checking out ureq.

Have a look at Response::into_reader which allows you to stream a body.