class IO::Endpoint::SSLEndpoint
def bind(*arguments, **options, &block)
-
(Socket)- the connected socket
Other tags:
- Yield: - the socket which is being connected
def bind(*arguments, **options, &block) if block_given? @endpoint.bind(*arguments, **options) do |server| yield self.make_server(server) end else @endpoint.bind(*arguments, **options).map do |server| self.make_server(server) end end end