class DTLS::Socket::Client
- DTLS::Socket::Client
- DTLS::Socket
- IO
- Reference
- Object
Defined in:
dtls/client.crConstructors
Class Method Summary
Instance methods inherited from class DTLS::Socket
alpn_protocol
alpn_protocol,
cipher : String
cipher,
closed? : Bool
closed?,
finalize
finalize,
hostname : String | Nil
hostname,
local_address
local_address,
read_timeout
read_timeout,
read_timeout=(value)
read_timeout=,
remote_address
remote_address,
sync_close=(sync_close : Bool)
sync_close=,
sync_close? : Bool
sync_close?,
tls_version : String
tls_version,
unbuffered_close
unbuffered_close,
unbuffered_flush
unbuffered_flush,
unbuffered_read(slice : Bytes)
unbuffered_read,
unbuffered_rewind
unbuffered_rewind,
unbuffered_write(slice : Bytes)
unbuffered_write,
write_timeout
write_timeout,
write_timeout=(value)
write_timeout=
Constructor Detail
def self.new(io : UDPSocket, context : Context::Client = Context::Client.new(LibSSL.dtls_method), sync_close : Bool = false, hostname : String | Nil = nil)
#
Class Method Detail
def self.open(io, context : Context::Client = Context::Client.new(LibSSL.dtls_method), sync_close : Bool = false, hostname : String | Nil = nil, &)
#