Module: Async::HTTP::Middleware::HelloWorld
- Defined in:
- lib/async/http/middleware.rb
Class Method Summary collapse
Class Method Details
.call(request) ⇒ Object
73 74 75 |
# File 'lib/async/http/middleware.rb', line 73 def self.call(request) Response[200, {'content-type' => 'text/plain'}, ["Hello World!"]] end |
.close ⇒ Object
70 71 |
# File 'lib/async/http/middleware.rb', line 70 def self.close end |