mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-05 00:05:35 -04:00
Fixes review comments.
This commit is contained in:
parent
caa877dc83
commit
9f99e11596
@ -8,7 +8,7 @@ theme_settings:
|
||||
# email: your-email@example.com
|
||||
description: >-
|
||||
Simple, but flexible HTTP client library, with support for multiple backends
|
||||
footer_text: "© 2009-2019 Rick Olson, Zack Hobson."
|
||||
footer_text: "© 2009 - 2019, the <a class=\"body-link\" href=\"/faraday/team\">Faraday Team</a>."
|
||||
|
||||
# Icons
|
||||
github: 'lostisland/faraday'
|
||||
|
@ -24,7 +24,7 @@ conn = Faraday.new(url: 'http://www.sushi.com')
|
||||
|
||||
Connections can also take an options hash as a parameter, or be configured with a block.
|
||||
Check out the [Middleware][middleware] page for more details about how to use this block for configurations.
|
||||
Since the default middleware stack uses the `url_encoded` middleware and default adapter, use them on building your own middleware stack.
|
||||
Since the default middleware stack uses the `url_encoded` middleware and default adapter, use them when building your own middleware stack.
|
||||
|
||||
```ruby
|
||||
conn = Faraday.new(url: 'http://sushi.com') do |faraday|
|
||||
|
@ -30,5 +30,4 @@ end
|
||||
streamed.join
|
||||
```
|
||||
|
||||
The `on_data` streaming is currently only supported by the `Net::HTTP` adapter. Other adapters
|
||||
will be support this in the future.
|
||||
The `on_data` streaming is currently only supported by the `Net::HTTP` adapter.
|
||||
|
Loading…
x
Reference in New Issue
Block a user