Class: URI::HTTP

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

Instance Method Summary collapse

Instance Method Details

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

See Also:

Since:

  • 0.3.0


77
78
79
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 77

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

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

See Also:

Since:

  • 0.3.0


86
87
88
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 86

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

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

See Also:

Since:

  • 0.3.0


95
96
97
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 95

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

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

See Also:

Since:

  • 0.3.0


113
114
115
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 113

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

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

See Also:

Since:

  • 0.3.0


104
105
106
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 104

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

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

See Also:

Since:

  • 0.3.0


122
123
124
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 122

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

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

See Also:

Since:

  • 0.3.0


131
132
133
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 131

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

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

See Also:

Since:

  • 0.3.0


140
141
142
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 140

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

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

See Also:

Since:

  • 0.3.0


149
150
151
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 149

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

#ok?(options = {}) ⇒ Boolean

Returns:

  • (Boolean)

See Also:

Since:

  • 0.3.0


50
51
52
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 50

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

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

See Also:

Since:

  • 0.3.0


158
159
160
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 158

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

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

See Also:

Since:

  • 0.3.0


167
168
169
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 167

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

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

See Also:

Since:

  • 0.3.0


185
186
187
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 185

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

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

See Also:

Since:

  • 0.3.0


176
177
178
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 176

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

#powered_by(options = {}) ⇒ Object

See Also:

Since:

  • 0.3.0


68
69
70
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 68

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

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

See Also:

Since:

  • 0.3.0


194
195
196
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 194

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

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

See Also:

  • Net.http_prop_match

Since:

  • 0.3.0


203
204
205
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 203

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

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

See Also:

Since:

  • 0.3.0


32
33
34
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 32

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

#server(options = {}) ⇒ Object

See Also:

Since:

  • 0.3.0


59
60
61
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 59

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

#status(options = {}) ⇒ Object

See Also:

Since:

  • 0.3.0


41
42
43
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 41

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

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

See Also:

Since:

  • 0.3.0


212
213
214
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 212

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

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

See Also:

Since:

  • 0.3.0


221
222
223
# File 'lib/ronin/network/extensions/http/uri/http.rb', line 221

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