mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
fixed identation in README
This commit is contained in:
parent
d840dc19ca
commit
03431c4d03
1 changed files with 4 additions and 4 deletions
|
@ -31,11 +31,11 @@ If you are sending params that do not contain a File object but the payload need
|
|||
|
||||
== Streaming downloads
|
||||
|
||||
RestClient.get('http://some/resource/lotsofdata') do |res|
|
||||
res.read_body do |chunk|
|
||||
.. do something with chunk ..
|
||||
RestClient.get('http://some/resource/lotsofdata') do |res|
|
||||
res.read_body do |chunk|
|
||||
.. do something with chunk ..
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
See RestClient module docs for more details.
|
||||
|
||||
|
|
Loading…
Reference in a new issue