Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTTPセッションが終了/終了する前、および結果全体がサーバーからフェッチされる前に、HTTP応答からパターンが一致したときにRubyライブラリで何かを開始することは可能ですか?
擬似コード:
http.get 'http://example.org/foo.json' do |response| run_this_function if /\"field\":\"data\"/ =~ response.body_str end
odoe.jsに似たものが必要ですが、Ruby で。