synko.create( url, [options] ) : Object

Create a synko instance. Optionally options can be passed.

Arguments

  1. url (String) Url with the prefix as default /synko. The connector used will be added to the prefix. For synko.socketio the prefix will be /synkosocketio or /yourprefixsocketio.
  1. [options] (Object):
    1. connector (synko.ws OR synko.socketio OR synko.SockJS) Defaults is synko.ws

Returns (Object)

A synko instance is returned.