Module: Protocol::HTTP::Middleware::HelloWorld

Defined in:
lib/protocol/http/middleware.rb

Class Method Summary collapse

Class Method Details

.call(request) ⇒ Object


66
67
68
# File 'lib/protocol/http/middleware.rb', line 66

def self.call(request)
	Response[200, Headers['content-type' => 'text/plain'], ["Hello World!"]]
end

.closeObject


63
64
# File 'lib/protocol/http/middleware.rb', line 63

def self.close
end