class Seahorse::Client::AsyncBase

def close_connection

Returns:
  • (Symbol) - Returns the status of the connection (:closed)
def close_connection
  @connection.close!
end

def connection_errors

def connection_errors
  @connection.errors
end

def initialize(plugins, options)

def initialize(plugins, options)
  super
  @connection = H2::Connection.new(options)
  @options = options
end

def new_connection

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

def operation_names

Returns:
  • (Array) - Returns a list of valid async request
def operation_names
  self.class.api.async_operation_names
end