Constructor
new ConnectorServer(config)
- Source:
Create a ConnectorServer
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
config |
Object |
Properties
|
Methods
get(config, utilityopt) → {Promise.<Object>}
- Source:
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
Properties
|
||||||||||||||||
utility |
'' | 'tokensregex' | 'semgrex' | 'tregex' |
<optional> |
Name of the utility to use NOTE: most of the utilities receives properties, these should be passed via the options param |
Returns:
- Type
- Promise.<Object>