Class: Rex::Proto::Http::Response::OK
- Inherits:
-
Response
- Object
- Response
- Rex::Proto::Http::Response::OK
- Defined in:
- lib/rex/proto/http/response.rb
Overview
HTTP 200/OK response class wrapper.
Instance Method Summary collapse
-
#initialize(message = 'OK', proto = DefaultProtocol) ⇒ OK
constructor
A new instance of OK.
Constructor Details
#initialize(message = 'OK', proto = DefaultProtocol) ⇒ OK
Returns a new instance of OK.
28 29 30 |
# File 'lib/rex/proto/http/response.rb', line 28 def initialize( = 'OK', proto = DefaultProtocol) super(200, , proto) end |