Constructor
new OnionPlugin(node, optionsopt)
Creates the transport wrapper for using a SOCKS5 proxy
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
node | object | ||||||||||||||||||||||||||
options | object | <optional> | Properties
|
- Source
Methods
createClearAgent() → {Agent}
Returns a clear text agent instance to use for the provided target
- Source
Returns:
- Type:
- Agent
createSecureAgent() → {Agent}
Returns an agent instance to use for the provided target
- Source
Returns:
- Type:
- Agent