struct Presto::ConnectionOptions
- Presto::ConnectionOptions
- Struct
- Value
- Object
Overview
ConnectionOptions manages all of the header information for the HTTP::Client. This struct will silently drop any options that arent part of the valid connection options for presto. We've got the mapping the way that it is to make constructing a URI and working with the options a bit easier
Defined in:
presto/connection.crConstructors
-
.new(uri : URI)
This is used in situations where we're parsing the params from the database uri.
- .new
Instance Method Summary
- #[](key)
- #[]=(key, value : Int32)
- #[]=(key, value)
- #[]?(key)
- #has_key?(key)
- #http_headers
- #statement_timeout : Time::Span
Constructor Detail
def self.new(uri : URI)
#
This is used in situations where we're parsing the params from the database uri.