Skip to content

Commit 75d26e6

Browse files
Update HTTPX plugin to use stream_bidi for improved streaming capabilities
1 parent 931d45e commit 75d26e6

File tree

1 file changed

+1
-1
lines changed
  • react_on_rails_pro/lib/react_on_rails_pro

1 file changed

+1
-1
lines changed

react_on_rails_pro/lib/react_on_rails_pro/request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def create_connection # rubocop:disable Metrics/MethodLength, Metrics/AbcSize
266266
nil
267267
end
268268
)
269-
.plugin(:stream)
269+
.plugin(:stream_bidi)
270270
# See https://www.rubydoc.info/gems/httpx/1.3.3/HTTPX%2FOptions:initialize for the available options
271271
.with(
272272
origin: url,

0 commit comments

Comments
 (0)