Class: GELF::Transport::HTTPS
Instance Method Summary collapse
-
#initialize(host, port: 443, path: nil, headers: nil) ⇒ HTTPS
constructor
A new instance of HTTPS.
Methods inherited from HTTP
#default_headers, #start_connection, #transfer
Constructor Details
#initialize(host, port: 443, path: nil, headers: nil) ⇒ HTTPS
Returns a new instance of HTTPS.
4 5 6 7 8 |
# File 'lib/gelf/transport/https.rb', line 4 def initialize(host, port: 443, path: nil, headers: nil) @uri = URI::HTTPS.build host: host, port: port @headers = headers @path = path end |