Method: Bandwidth::HttpRequest#add_header
- Defined in:
- lib/bandwidth/http/http_request.rb
#add_header(name, value) ⇒ Object
Add a header to the HttpRequest.
30 31 32 |
# File 'lib/bandwidth/http/http_request.rb', line 30 def add_header(name, value) @headers[name] = value end |