Module: Vertx::ClientSSLSupport

Included in:
HttpClient
Defined in:
lib/vertx/ssl_support.rb

Overview

A mixin module allowing Client SSL attributes to be set on classes

Author:

Instance Method Summary collapse

Instance Method Details

#trust_all(val = nil) ⇒ Object



134
135
136
137
138
139
140
141
# File 'lib/vertx/ssl_support.rb', line 134

def trust_all(val = nil)
  if val
    @j_del.setTrustAll(val)
    self
  else
    @j_del.isTrustAll
  end
end

#trust_all=(val) ⇒ Object



129
130
131
132
# File 'lib/vertx/ssl_support.rb', line 129

def trust_all=(val)
  @j_del.setTrustAll(val)
  self
end