Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 221 Bytes
Bundler.setup
Bundler.require
class App
def self.call(env)
result = EM::Synchrony.sync EventMachine::HttpRequest.new('http://google.com').get
[200, {"Content-Type" => "text/html"}, [result.response]]
end
end
Something went wrong with that request. Please try again.