plugin-tls
Version:
plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制
65 lines (30 loc) • 750 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [ModeOptions](./plugin-tls.modeoptions.md) > [(constructor)](./plugin-tls.modeoptions._constructor__1.md)
## ModeOptions.(constructor)
Constructs a new instance of the `ModeOptions` class
**Signature:**
```typescript
constructor(mode: Mode, options?: Option);
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
mode
</td><td>
Mode
</td><td>
</td></tr>
<tr><td>
options
</td><td>
Option
</td><td>
_(Optional)_
</td></tr>
</tbody></table>