diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-11-09 22:38:26 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-11-09 22:38:26 +0900 |
commit | 223addb898938dec5cd5196f7ad9f0b3aca17a99 (patch) | |
tree | 3bbdef6be91abf3d35afe34305886508b94c8034 /lib | |
parent | e44ecc10fe65ae0a3b5887e1bfcbf16a9acc152f (diff) | |
download | plum-223addb898938dec5cd5196f7ad9f0b3aca17a99.tar.gz |
tests: add test cases for Client
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plum/client.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plum/client.rb b/lib/plum/client.rb index b78e25c..c2a1b83 100644 --- a/lib/plum/client.rb +++ b/lib/plum/client.rb @@ -2,17 +2,17 @@ module Plum class Client DEFAULT_CONFIG = { + http2: true, scheme: "https", + hostname: nil, verify_mode: OpenSSL::SSL::VERIFY_PEER, ssl_context: nil, - hostname: nil, http2_settings: {}, user_agent: "plum/#{Plum::VERSION}", - http2: true, }.freeze attr_reader :host, :port, :config - attr_reader :socket + attr_reader :socket, :session # Creates a new HTTP client and starts communication. # A shorthand for `Plum::Client.new(args).start(&block)` |