Method: Akephalos::ClientManager.new_client

Defined in:
lib/akephalos/server.rb

.new_client(options = {}) ⇒ Akephalos::Client

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new client instance.

Returns:



34
35
36
37
# File 'lib/akephalos/server.rb', line 34

def self.new_client(options = {})
  # Store the client to ensure it isn't prematurely garbage collected.
  @client = Client.new(options)
end