Module: HTTPX::Plugins::StreamBidi::RequestMethodsRetryFix
- Defined in:
- lib/react_on_rails_pro/httpx_stream_bidi_patch.rb
Instance Method Summary collapse
Instance Method Details
#transition(nextstate) ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/react_on_rails_pro/httpx_stream_bidi_patch.rb', line 27 def transition(nextstate) @headers_sent = false if nextstate == :idle return super unless @options.stream callbacks(:body).clear if nextstate == :idle super end |