Class: Rex::Proto::Http::Response::OK

Inherits:
Response
  • Object
show all
Defined in:
lib/rex/proto/http/response.rb

Overview

HTTP 200/OK response class wrapper.

Instance Method Summary collapse

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(message = 'OK', proto = DefaultProtocol)
  super(200, message, proto)
end