License class #
Provides methods for license management.
plugLicense #
| Name | Description |
|---|---|
| plugLicense (String) | Plugs license from the specified file path. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | The path to the license file. |
Error
| Error | Condition |
|---|---|
| null | ArgumentException |
plugLicenseFromStream #
| Name | Description |
|---|---|
| plugLicenseFromStream (License, ReadStream, Function) | Plugs license from the specified stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| license | License | link to self |
| stream | ReadStream | The stream from which to read the license data. |
| callback | Function | callback(error, result) - Callback to be called when the method has completed |
Error
| Error | Condition |
|---|---|
| null | ArgumentException |