Class: URI::HTTP

Inherits:
Generic show all
Includes:
Ronin::Network::HTTP
Defined in:
lib/ronin/network/extensions/http/uri/http.rb

Instance Method Summary collapse

Methods included from Ronin::Network::HTTP

expand_options, expand_url, header_name, headers, #http_connect, #http_copy, #http_delete, #http_get, #http_get_body, #http_get_headers, #http_head, #http_lock, #http_mkcol, #http_move, #http_ok?, #http_options, #http_post, #http_post_body, #http_post_headers, #http_powered_by, #http_prop_find, #http_prop_patch, #http_put, #http_request, #http_server, #http_session, #http_status, #http_trace, #http_unlock, proxy, proxy=, request, user_agent, user_agent=

Instance Method Details

#copy(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


79
80
81
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 79

def copy(options={},&block)
  http_copy(options.merge(:url => self),&block)
end

#delete(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


88
89
90
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 88

def delete(options={},&block)
  http_delete(options.merge(:url => self),&block)
end

#get(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


97
98
99
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 97

def get(options={},&block)
  http_get(options.merge(:url => self),&block)
end

#get_body(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


115
116
117
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 115

def get_body(options={},&block)
  http_get_body(options.merge(:url => self),&block)
end

#get_headers(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


106
107
108
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 106

def get_headers(options={},&block)
  http_get_headers(options.merge(:url => self),&block)
end

#head(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


124
125
126
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 124

def head(options={},&block)
  http_head(options.merge(:url => self),&block)
end

#lock(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


133
134
135
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 133

def lock(options={},&block)
  http_lock(options.merge(:url => self),&block)
end

#mkcol(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


142
143
144
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 142

def mkcol(options={},&block)
  http_mkcol(options.merge(:url => self),&block)
end

#move(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


151
152
153
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 151

def move(options={},&block)
  http_move(options.merge(:url => self),&block)
end

#ok?(options = {}) ⇒ Boolean

See Also:

Since:

  • 0.3.0


52
53
54
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 52

def ok?(options={})
  http_ok?(options.merge(:url => self))
end

#options(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


160
161
162
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 160

def options(options={},&block)
  http_options(options.merge(:url => self),&block)
end

#post(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


169
170
171
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 169

def post(options={},&block)
  http_post(options.merge(:url => self),&block)
end

#post_body(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


187
188
189
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 187

def post_body(options={},&block)
  http_post_body(options.merge(:url => self),&block)
end

#post_headers(options = {}, &block) ⇒ Object


178
179
180
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 178

def post_headers(options={},&block)
  http_post_headers(options.merge(:url => self),&block)
end

#powered_by(options = {}) ⇒ Object

See Also:

Since:

  • 0.3.0


70
71
72
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 70

def powered_by(options={})
  http_powered_by(options.merge(:url => self))
end

#prop_find(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


196
197
198
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 196

def prop_find(options={},&block)
  http_prop_find(options.merge(:url => self),&block)
end

#prop_match(options = {}, &block) ⇒ Object

See Also:

  • Ronin::Network::HTTP#http_prop_match

Since:

  • 0.3.0


205
206
207
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 205

def prop_match(options={},&block)
  http_prop_match(options.merge(:url => self),&block)
end

#request(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


34
35
36
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 34

def request(options={},&block)
  http_request(options.merge(:url => self),&block)
end

#server(options = {}) ⇒ Object

See Also:

Since:

  • 0.3.0


61
62
63
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 61

def server(options={})
  http_server(options.merge(:url => self))
end

#status(options = {}) ⇒ Object

See Also:

Since:

  • 0.3.0


43
44
45
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 43

def status(options={})
  http_status(options.merge(:url => self))
end

#trace(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


214
215
216
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 214

def trace(options={},&block)
  http_trace(options.merge(:url => self),&block)
end

#unlock(options = {}, &block) ⇒ Object

See Also:

Since:

  • 0.3.0


223
224
225
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 223

def unlock(options={},&block)
  http_unlock(options.merge(:url => self),&block)
end