class Seahorse::Client::AsyncBase

def new_connection

Returns:
  • (Seahorse::Client::H2::Connection) -
def new_connection
  if @connection.closed?
    @connection = H2::Connection.new(@options)
  else
    @connection
  end
end