Class: Wreq::Method
- Inherits:
-
Object
- Object
- Wreq::Method
- Defined in:
- lib/wreq_ruby/http.rb
Overview
HTTP method enumeration backed by Rust.
Variants are exposed as constants under this class. Each constant is an instance of Method.
Constant Summary collapse
- GET =
Returns HTTP GET method.
nil- HEAD =
Returns HTTP HEAD method.
nil- POST =
Returns HTTP POST method.
nil- PUT =
Returns HTTP PUT method.
nil- DELETE =
Returns HTTP DELETE method.
nil- OPTIONS =
Returns HTTP OPTIONS method.
nil- TRACE =
Returns HTTP TRACE method.
nil- PATCH =
Returns HTTP PATCH method.
nil
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
47 48 |
# File 'lib/wreq_ruby/http.rb', line 47 def ==(other) end |
#eql?(other) ⇒ Boolean
55 56 |
# File 'lib/wreq_ruby/http.rb', line 55 def eql?(other) end |
#hash ⇒ Object
62 63 |
# File 'lib/wreq_ruby/http.rb', line 62 def hash end |
#to_s ⇒ Object
32 33 |
# File 'lib/wreq_ruby/http.rb', line 32 def to_s end |
#to_sym ⇒ Object
39 40 |
# File 'lib/wreq_ruby/http.rb', line 39 def to_sym end |