We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1c36f commit 4aae668Copy full SHA for 4aae668
README.md
@@ -42,6 +42,11 @@ config = Tls::Config.new # see https://github.com/Asmod4n/mruby-tls/blob/master/
42
client = Tls::Client.new config
43
```
44
45
+You can later on change the configuration object
46
+```ruby
47
+client.config = config
48
+```
49
+
50
Server example
51
```sh
52
openssl ecparam -name secp256r1 -genkey -out private-key.pem
mrblib/context.rb
@@ -3,6 +3,7 @@ class Context
3
attr_reader :config
4
alias :recv :read
5
alias :send :write
6
+ alias :config= :configure
7
8
def self.new(config = nil)
9
case config
0 commit comments