Skip to content

Commit 6600463

Browse files
[DOC] Enhanced RDoc for Net::HTTP (#84)
1 parent 1ea5004 commit 6600463

File tree

2 files changed

+317
-41
lines changed

2 files changed

+317
-41
lines changed

lib/net/http/request.rb

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,28 @@
44
# it wraps together the request path and the request headers.
55
#
66
# The class should not be used directly;
7-
# instead you should use its subclasses:
7+
# instead you should use its subclasses.
88
#
9-
# - \Net::HTTP::Get
10-
# - \Net::HTTP::Head
11-
# - \Net::HTTP::Post
12-
# - \Net::HTTP::Delete
13-
# - \Net::HTTP::Options
14-
# - \Net::HTTP::Trace
15-
# - \Net::HTTP::Patch
16-
# - \Net::HTTP::Put
17-
# - \Net::HTTP::Copy
18-
# - \Net::HTTP::Lock
19-
# - \Net::HTTP::Mkcol
20-
# - \Net::HTTP::Move
21-
# - \Net::HTTP::Propfind
22-
# - \Net::HTTP::Proppatch
23-
# - \Net::HTTP::Unlock
9+
# Subclasses for HTTP requests:
10+
#
11+
# - Net::HTTP::Get
12+
# - Net::HTTP::Head
13+
# - Net::HTTP::Post
14+
# - Net::HTTP::Put
15+
# - Net::HTTP::Delete
16+
# - Net::HTTP::Options
17+
# - Net::HTTP::Trace
18+
# - Net::HTTP::Patch
19+
#
20+
# Subclasses for WebDAV requests:
21+
#
22+
# - Net::HTTP::Propfind
23+
# - Net::HTTP::Proppatch
24+
# - Net::HTTP::Mkcol
25+
# - Net::HTTP::Copy
26+
# - Net::HTTP::Move
27+
# - Net::HTTP::Lock
28+
# - Net::HTTP::Unlock
2429
#
2530
class Net::HTTPRequest < Net::HTTPGenericRequest
2631
# Creates an HTTP request object for +path+.
@@ -36,4 +41,3 @@ def initialize(path, initheader = nil)
3641
path, initheader
3742
end
3843
end
39-

0 commit comments

Comments
 (0)