Method: H2::Server::Connection#close
- Defined in:
- lib/h2/server/connection.rb
#close ⇒ Object
closes this connection’s socket if attached
58 59 60 |
# File 'lib/h2/server/connection.rb', line 58 def close socket.close if socket && attached? && !closed? end |