src code

class method Spah.createClient

Spah.createClient([options]) → Spah.StateClient

options (Object): An optional hash used to configure the client

Creates a new Spah.StateClient instance, with options passed to the client for configuration. See Spah.StateClient’s constructor for information on configuring the client.