Method: Rex::Proto::Http::Packet#cmd_string

Defined in:
lib/rex/proto/http/packet.rb

#cmd_stringObject

Returns the command string, such as:

HTTP/1.0 200 OK for a response

or

GET /foo HTTP/1.0 for a request



224
225
226
# File 'lib/rex/proto/http/packet.rb', line 224

def cmd_string
  self.headers.cmd_string
end