module Durian::Network
Defined in:
durian/network.crClass Method Summary
- .create(server : Durian::Resolver::Server, timeout : Option::TimeOut)
- .create(address : Socket::IPAddress, protocol : Protocol, tls : Durian::Resolver::Server::TransportLayerSecurity | Nil = nil, read_timeout : Time::Span = 5.seconds, write_timeout : Time::Span = 5.seconds, connect_timeout : Time::Span = 5.seconds)
Class Method Detail
def self.create(address : Socket::IPAddress, protocol : Protocol, tls : Durian::Resolver::Server::TransportLayerSecurity | Nil = nil, read_timeout : Time::Span = 5.seconds, write_timeout : Time::Span = 5.seconds, connect_timeout : Time::Span = 5.seconds)
#