Skip to content

Commit

Permalink
[DOC] Enhanced RDoc for Net::HTTP (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
BurdetteLamar authored Dec 4, 2022
1 parent 1ea5004 commit 6600463
Show file tree
Hide file tree
Showing 2 changed files with 317 additions and 41 deletions.
38 changes: 21 additions & 17 deletions lib/net/http/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,28 @@
# it wraps together the request path and the request headers.
#
# The class should not be used directly;
# instead you should use its subclasses:
# instead you should use its subclasses.
#
# - \Net::HTTP::Get
# - \Net::HTTP::Head
# - \Net::HTTP::Post
# - \Net::HTTP::Delete
# - \Net::HTTP::Options
# - \Net::HTTP::Trace
# - \Net::HTTP::Patch
# - \Net::HTTP::Put
# - \Net::HTTP::Copy
# - \Net::HTTP::Lock
# - \Net::HTTP::Mkcol
# - \Net::HTTP::Move
# - \Net::HTTP::Propfind
# - \Net::HTTP::Proppatch
# - \Net::HTTP::Unlock
# Subclasses for HTTP requests:
#
# - Net::HTTP::Get
# - Net::HTTP::Head
# - Net::HTTP::Post
# - Net::HTTP::Put
# - Net::HTTP::Delete
# - Net::HTTP::Options
# - Net::HTTP::Trace
# - Net::HTTP::Patch
#
# Subclasses for WebDAV requests:
#
# - Net::HTTP::Propfind
# - Net::HTTP::Proppatch
# - Net::HTTP::Mkcol
# - Net::HTTP::Copy
# - Net::HTTP::Move
# - Net::HTTP::Lock
# - Net::HTTP::Unlock
#
class Net::HTTPRequest < Net::HTTPGenericRequest
# Creates an HTTP request object for +path+.
Expand All @@ -36,4 +41,3 @@ def initialize(path, initheader = nil)
path, initheader
end
end

Loading

0 comments on commit 6600463

Please sign in to comment.