# v-spot@1.2.1 Spot for v + Functions + [create(args)](#v-spot-function-create) + [clientMix(Class)](#v-spot-function-client-mix) + [`VSpot`](#v-spot-classes) Class + [new VSpot()](#v-spot-classes-v-spot-constructor) + [`VSpotClient`](#v-spot-classes) Class + [new VSpotClient()](#v-spot-classes-v-spot-client-constructor) + [client.load(Class, subject)](#v-spot-classes-v-spot-client-load) + [client.use(subject)](#v-spot-classes-v-spot-client-use) + [client.connect(connector)](#v-spot-classes-v-spot-client-connect) + [client.disconnect()](#v-spot-classes-v-spot-client-disconnect) + [client.call(method, params, id, w)](#v-spot-classes-v-spot-client-call) + [client.execute(w)](#v-spot-classes-v-spot-client-execute) + [client.load(Class, subject)](#v-spot-classes-v-spot-client-load) + [client.use(subject)](#v-spot-classes-v-spot-client-use) + [client.connect(connector)](#v-spot-classes-v-spot-client-connect) + [client.disconnect()](#v-spot-classes-v-spot-client-disconnect) + [client.call(method, params, id, w)](#v-spot-classes-v-spot-client-call) + [client.execute(w)](#v-spot-classes-v-spot-client-execute) + [`VSpotServer`](#v-spot-classes) Class + [new VSpotServer()](#v-spot-classes-v-spot-server-constructor) ## Functions ### create(args) -> `VSpot` Create a VSpot instance | Param | Type | Description | | ----- | --- | -------- | | args | * | | ### clientMix(Class) -> `function` Client mix | Param | Type | Description | | ----- | --- | -------- | | Class | function | Class to mix | ## `VSpot` Class ### new VSpot() Constructor of VSpot class ## `VSpotClient` Class ### new VSpotClient() Constructor of VSpotClient class ### client.load(Class, subject) -> `object` Load subject into the spot | Param | Type | Description | | ----- | --- | -------- | | Class | | | | subject | string | | ### client.use(subject) -> `Promise.` Use subject | Param | Type | Description | | ----- | --- | -------- | | subject | string | | ### client.connect(connector) -> `Promise.` Connect to connector | Param | Type | Description | | ----- | --- | -------- | | connector | | | ### client.disconnect() -> `Promise.` Disconnect from connector ### client.call(method, params, id, w) -> `Promise.<*>` Call a method remotely | Param | Type | Description | | ----- | --- | -------- | | method | string | | | params | Array | | | id | string | | | w | Object | | ### client.execute(w) -> `Promise.<*>` Execute a method locally | Param | Type | Description | | ----- | --- | -------- | | w | Object | | ### client.load(Class, subject) -> `object` Load subject into the spot | Param | Type | Description | | ----- | --- | -------- | | Class | | | | subject | string | | ### client.use(subject) -> `Promise.` Use subject | Param | Type | Description | | ----- | --- | -------- | | subject | string | | ### client.connect(connector) -> `Promise.` Connect to connector | Param | Type | Description | | ----- | --- | -------- | | connector | | | ### client.disconnect() -> `Promise.` Disconnect from connector ### client.call(method, params, id, w) -> `Promise.<*>` Call a method remotely | Param | Type | Description | | ----- | --- | -------- | | method | string | | | params | Array | | | id | string | | | w | Object | | ### client.execute(w) -> `Promise.<*>` Execute a method locally | Param | Type | Description | | ----- | --- | -------- | | w | Object | | ## `VSpotServer` Class ### new VSpotServer() Constructor of VSpotServer class