plugin-tls 3.3.3 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.d.ts +2 -2
- package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.d.ts.map +1 -1
- package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.d.ts +2 -2
- package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.d.ts.map +1 -1
- package/dist/plugin-host/PluginHostEventEmitter.d.ts +3 -3
- package/dist/plugin-host/PluginHostEventEmitter.d.ts.map +1 -1
- package/package.json +3 -3
- package/doc/api/index.md +0 -32
- package/doc/api/plugin-tls.adddefaultoptions.md +0 -75
- package/doc/api/plugin-tls.addinstoptions.md +0 -85
- package/doc/api/plugin-tls.allfunctionapply.md +0 -80
- package/doc/api/plugin-tls.becomepluginhost.md +0 -15
- package/doc/api/plugin-tls.becomepluginhost_extends.md +0 -72
- package/doc/api/plugin-tls.becomepluginhost_proxy.md +0 -57
- package/doc/api/plugin-tls.becometiermodeoptionshost.md +0 -15
- package/doc/api/plugin-tls.becometieroptionshost.md +0 -15
- package/doc/api/plugin-tls.classextender.md +0 -15
- package/doc/api/plugin-tls.classextenderprivatemember._constructors.md +0 -13
- package/doc/api/plugin-tls.classextenderprivatemember._destroys.md +0 -13
- package/doc/api/plugin-tls.classextenderprivatemember.md +0 -81
- package/doc/api/plugin-tls.classextenderprivatememberwithinit._inits.md +0 -13
- package/doc/api/plugin-tls.classextenderprivatememberwithinit.md +0 -61
- package/doc/api/plugin-tls.classextenderwithinit.md +0 -15
- package/doc/api/plugin-tls.classtype._new_.md +0 -50
- package/doc/api/plugin-tls.classtype.md +0 -38
- package/doc/api/plugin-tls.commonmodename.md +0 -18
- package/doc/api/plugin-tls.createcallerofprivatememberofextend.md +0 -58
- package/doc/api/plugin-tls.createdefinemixin.md +0 -23
- package/doc/api/plugin-tls.createextendtarget.md +0 -60
- package/doc/api/plugin-tls.createextendtargetwithinit.md +0 -60
- package/doc/api/plugin-tls.createmixintarget.md +0 -58
- package/doc/api/plugin-tls.createpluginhost.md +0 -140
- package/doc/api/plugin-tls.createpropertysetter.md +0 -71
- package/doc/api/plugin-tls.createtargetextend.md +0 -60
- package/doc/api/plugin-tls.createtargetextendwithinit.md +0 -60
- package/doc/api/plugin-tls.createtargetmixin.md +0 -60
- package/doc/api/plugin-tls.createtiermodeoptionspluginhost.md +0 -138
- package/doc/api/plugin-tls.createtieroptionspluginhost.md +0 -135
- package/doc/api/plugin-tls.defineextend.md +0 -80
- package/doc/api/plugin-tls.defineextendwithinit.md +0 -80
- package/doc/api/plugin-tls.definemixin.md +0 -76
- package/doc/api/plugin-tls.extendtarget.md +0 -76
- package/doc/api/plugin-tls.extendtargetwithinit.md +0 -76
- package/doc/api/plugin-tls.formatuseparameters.md +0 -13
- package/doc/api/plugin-tls.formatusepluginparameters.md +0 -15
- package/doc/api/plugin-tls.getnormalizepluginoptions.md +0 -15
- package/doc/api/plugin-tls.getpluginoptions.md +0 -15
- package/doc/api/plugin-tls.getpropertyvalue.md +0 -67
- package/doc/api/plugin-tls.getpropertyvaluebypath.md +0 -67
- package/doc/api/plugin-tls.gettargetproperties.md +0 -67
- package/doc/api/plugin-tls.hostinst.md +0 -13
- package/doc/api/plugin-tls.idefaultoptionshost.defaultoptions.md +0 -11
- package/doc/api/plugin-tls.idefaultoptionshost.md +0 -58
- package/doc/api/plugin-tls.iidefaultoptionshostconstructor.md +0 -13
- package/doc/api/plugin-tls.iplugin.created.md +0 -70
- package/doc/api/plugin-tls.iplugin.destroyed.md +0 -70
- package/doc/api/plugin-tls.iplugin.md +0 -62
- package/doc/api/plugin-tls.iplugin.used.md +0 -70
- package/doc/api/plugin-tls.ipluginhost.md +0 -40
- package/doc/api/plugin-tls.ipluginhost.use.md +0 -67
- package/doc/api/plugin-tls.ipluginhostconstructor.md +0 -40
- package/doc/api/plugin-tls.ipluginhostconstructor.use.md +0 -70
- package/doc/api/plugin-tls.ipluginwithinit.inited.md +0 -70
- package/doc/api/plugin-tls.ipluginwithinit.md +0 -41
- package/doc/api/plugin-tls.itiermodeoptionshost.md +0 -75
- package/doc/api/plugin-tls.itiermodeoptionshost.mode.md +0 -11
- package/doc/api/plugin-tls.itiermodeoptionshost.modeoptions.md +0 -11
- package/doc/api/plugin-tls.itiermodeoptionshostconstructor.md +0 -13
- package/doc/api/plugin-tls.itiermodeoptionspluginhost.md +0 -15
- package/doc/api/plugin-tls.itiermodeoptionspluginhostconstructor.md +0 -15
- package/doc/api/plugin-tls.itieroptionshost.defaultoptions.md +0 -11
- package/doc/api/plugin-tls.itieroptionshost.md +0 -58
- package/doc/api/plugin-tls.itieroptionshostconstructor.md +0 -13
- package/doc/api/plugin-tls.itieroptionspluginhost.md +0 -15
- package/doc/api/plugin-tls.itieroptionspluginhostconstructor.md +0 -15
- package/doc/api/plugin-tls.md +0 -989
- package/doc/api/plugin-tls.mergeproperties.md +0 -66
- package/doc/api/plugin-tls.mixin_4.md +0 -78
- package/doc/api/plugin-tls.mixintarget.md +0 -76
- package/doc/api/plugin-tls.modeoptions._constructor_.md +0 -48
- package/doc/api/plugin-tls.modeoptions._constructor__1.md +0 -64
- package/doc/api/plugin-tls.modeoptions._mode.md +0 -11
- package/doc/api/plugin-tls.modeoptions._modenames.md +0 -11
- package/doc/api/plugin-tls.modeoptions._plainfulloption.md +0 -11
- package/doc/api/plugin-tls.modeoptions.getfullmodeoption.md +0 -57
- package/doc/api/plugin-tls.modeoptions.getmodenames.md +0 -18
- package/doc/api/plugin-tls.modeoptions.getmodeoption.md +0 -57
- package/doc/api/plugin-tls.modeoptions.hasmode.md +0 -53
- package/doc/api/plugin-tls.modeoptions.md +0 -381
- package/doc/api/plugin-tls.modeoptions.mode.md +0 -15
- package/doc/api/plugin-tls.modeoptions.modenames.md +0 -13
- package/doc/api/plugin-tls.modeoptions.modes.md +0 -13
- package/doc/api/plugin-tls.modeoptions.option.md +0 -13
- package/doc/api/plugin-tls.modeoptions.optionmanager.md +0 -13
- package/doc/api/plugin-tls.modeoptions.plainfulloption.md +0 -11
- package/doc/api/plugin-tls.modeoptions.setmodeoption.md +0 -98
- package/doc/api/plugin-tls.modeoptions.updatefulloption.md +0 -17
- package/doc/api/plugin-tls.normalizepluginoptions.md +0 -18
- package/doc/api/plugin-tls.parsepropertypath.md +0 -53
- package/doc/api/plugin-tls.plugincreatedreturntype.md +0 -15
- package/doc/api/plugin-tls.pluginhost._pluginmanager.md +0 -11
- package/doc/api/plugin-tls.pluginhost.destroythis.md +0 -18
- package/doc/api/plugin-tls.pluginhost.md +0 -177
- package/doc/api/plugin-tls.pluginhost.pluginmanager.md +0 -13
- package/doc/api/plugin-tls.pluginhost.use.md +0 -70
- package/doc/api/plugin-tls.pluginmanager._constructor_.md +0 -50
- package/doc/api/plugin-tls.pluginmanager.created.md +0 -58
- package/doc/api/plugin-tls.pluginmanager.destroyed.md +0 -58
- package/doc/api/plugin-tls.pluginmanager.host.md +0 -13
- package/doc/api/plugin-tls.pluginmanager.instuse.md +0 -86
- package/doc/api/plugin-tls.pluginmanager.md +0 -214
- package/doc/api/plugin-tls.pluginmanager.pluginoptsmap.md +0 -13
- package/doc/api/plugin-tls.pluginmanager.plugins.md +0 -13
- package/doc/api/plugin-tls.pluginmanager.use.md +0 -70
- package/doc/api/plugin-tls.pluginmanagerwithinit.inited.md +0 -58
- package/doc/api/plugin-tls.pluginmanagerwithinit.md +0 -53
- package/doc/api/plugin-tls.pluginusereturntype.md +0 -15
- package/doc/api/plugin-tls.privatememberofextend._constructor.md +0 -60
- package/doc/api/plugin-tls.privatememberofextend._destroy.md +0 -25
- package/doc/api/plugin-tls.privatememberofextend.md +0 -51
- package/doc/api/plugin-tls.privatememberofextendwithinit._init.md +0 -56
- package/doc/api/plugin-tls.privatememberofextendwithinit.md +0 -41
- package/doc/api/plugin-tls.replaceconstructorparameters.md +0 -13
- package/doc/api/plugin-tls.replaceconstructorreturn.md +0 -13
- package/doc/api/plugin-tls.setpropertyvalue.md +0 -81
- package/doc/api/plugin-tls.setpropertyvaluebypath.md +0 -81
- package/doc/api/plugin-tls.targetextend.md +0 -76
- package/doc/api/plugin-tls.targetextendwithinit.md +0 -76
- package/doc/api/plugin-tls.targetmixin.md +0 -76
- package/doc/api/plugin-tls.tiermodeoptions._constructor_.md +0 -48
- package/doc/api/plugin-tls.tiermodeoptions._constructor__1.md +0 -80
- package/doc/api/plugin-tls.tiermodeoptions._extends.md +0 -11
- package/doc/api/plugin-tls.tiermodeoptions.extends.md +0 -15
- package/doc/api/plugin-tls.tiermodeoptions.getfullmodeoption.md +0 -57
- package/doc/api/plugin-tls.tiermodeoptions.getmember.md +0 -53
- package/doc/api/plugin-tls.tiermodeoptions.getmodenames.md +0 -18
- package/doc/api/plugin-tls.tiermodeoptions.getmodeoptionmanager.md +0 -53
- package/doc/api/plugin-tls.tiermodeoptions.getvalue.md +0 -53
- package/doc/api/plugin-tls.tiermodeoptions.hasmodeontier.md +0 -53
- package/doc/api/plugin-tls.tiermodeoptions.md +0 -255
- package/doc/api/plugin-tls.tiermodeoptions.optionmanager.md +0 -13
- package/doc/api/plugin-tls.tiermodeoptionsdecorator.md +0 -71
- package/doc/api/plugin-tls.tiermodeoptionspluginhost._constructor_.md +0 -48
- package/doc/api/plugin-tls.tiermodeoptionspluginhost._modeoptions.md +0 -11
- package/doc/api/plugin-tls.tiermodeoptionspluginhost.md +0 -179
- package/doc/api/plugin-tls.tiermodeoptionspluginhost.mode.md +0 -13
- package/doc/api/plugin-tls.tiermodeoptionspluginhost.modeoptions.md +0 -13
- package/doc/api/plugin-tls.tiermodeoptionspluginhost.options.md +0 -11
- package/doc/api/plugin-tls.tieroptions._constructor_.md +0 -66
- package/doc/api/plugin-tls.tieroptions._extends.md +0 -11
- package/doc/api/plugin-tls.tieroptions._plainfulloption.md +0 -11
- package/doc/api/plugin-tls.tieroptions.extends.md +0 -15
- package/doc/api/plugin-tls.tieroptions.getmember.md +0 -53
- package/doc/api/plugin-tls.tieroptions.getvalue.md +0 -53
- package/doc/api/plugin-tls.tieroptions.md +0 -231
- package/doc/api/plugin-tls.tieroptions.option.md +0 -13
- package/doc/api/plugin-tls.tieroptions.plainfulloption.md +0 -18
- package/doc/api/plugin-tls.tieroptions.updatefulloption.md +0 -17
- package/doc/api/plugin-tls.tieroptionsdecorator.md +0 -71
- package/doc/api/plugin-tls.tieroptionspluginhost._constructor_.md +0 -48
- package/doc/api/plugin-tls.tieroptionspluginhost._defaultoptions.md +0 -11
- package/doc/api/plugin-tls.tieroptionspluginhost.defaultoptions.md +0 -13
- package/doc/api/plugin-tls.tieroptionspluginhost.md +0 -143
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPlugin](./plugin-tls.iplugin.md) > [created](./plugin-tls.iplugin.created.md)
|
|
4
|
-
|
|
5
|
-
## IPlugin.created() method
|
|
6
|
-
|
|
7
|
-
当宿主实例被创建时调用
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
created?(host: HostInst<HOST>, ...options: FormatUseParameters<Options>): any;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
host
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[HostInst](./plugin-tls.hostinst.md)<!-- --><HOST>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
新建的宿主实例
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
options
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
[FormatUseParameters](./plugin-tls.formatuseparameters.md)<!-- --><Options>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
注册插件时的选项
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
|
|
67
|
-
**Returns:**
|
|
68
|
-
|
|
69
|
-
any
|
|
70
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPlugin](./plugin-tls.iplugin.md) > [destroyed](./plugin-tls.iplugin.destroyed.md)
|
|
4
|
-
|
|
5
|
-
## IPlugin.destroyed() method
|
|
6
|
-
|
|
7
|
-
当宿主实例被销毁时调用
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
destroyed?(host: HostInst<HOST>, ...options: FormatUseParameters<Options>): any;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
host
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[HostInst](./plugin-tls.hostinst.md)<!-- --><HOST>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
被销毁的宿主实例
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
options
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
[FormatUseParameters](./plugin-tls.formatuseparameters.md)<!-- --><Options>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
注册插件时的选项
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
|
|
67
|
-
**Returns:**
|
|
68
|
-
|
|
69
|
-
any
|
|
70
|
-
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPlugin](./plugin-tls.iplugin.md)
|
|
4
|
-
|
|
5
|
-
## IPlugin interface
|
|
6
|
-
|
|
7
|
-
插件的接口
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface IPlugin<HOST, Options = void>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Methods
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Method
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Description
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th></tr></thead>
|
|
28
|
-
<tbody><tr><td>
|
|
29
|
-
|
|
30
|
-
[created(host, options)?](./plugin-tls.iplugin.created.md)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</td><td>
|
|
34
|
-
|
|
35
|
-
_(Optional)_ 当宿主实例被创建时调用
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td></tr>
|
|
39
|
-
<tr><td>
|
|
40
|
-
|
|
41
|
-
[destroyed(host, options)?](./plugin-tls.iplugin.destroyed.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
_(Optional)_ 当宿主实例被销毁时调用
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</td></tr>
|
|
50
|
-
<tr><td>
|
|
51
|
-
|
|
52
|
-
[used(Host, options)](./plugin-tls.iplugin.used.md)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td><td>
|
|
56
|
-
|
|
57
|
-
当插件被注册时调用
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
</tbody></table>
|
|
62
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPlugin](./plugin-tls.iplugin.md) > [used](./plugin-tls.iplugin.used.md)
|
|
4
|
-
|
|
5
|
-
## IPlugin.used() method
|
|
6
|
-
|
|
7
|
-
当插件被注册时调用
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
used(Host: HOST, ...options: FormatUseParameters<Options>): any;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
Host
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
HOST
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
宿主的类型
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
options
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
[FormatUseParameters](./plugin-tls.formatuseparameters.md)<!-- --><Options>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
注册插件时的选项
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
|
|
67
|
-
**Returns:**
|
|
68
|
-
|
|
69
|
-
any
|
|
70
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPluginHost](./plugin-tls.ipluginhost.md)
|
|
4
|
-
|
|
5
|
-
## IPluginHost interface
|
|
6
|
-
|
|
7
|
-
插件宿主的接口
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface IPluginHost<HostClassType extends IPluginHostConstructor<any, Plugin>, Plugin extends IPlugin<HostClassType, any> = IPlugin<HostClassType, any>>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Methods
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Method
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Description
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th></tr></thead>
|
|
28
|
-
<tbody><tr><td>
|
|
29
|
-
|
|
30
|
-
[use(plugin, options)](./plugin-tls.ipluginhost.use.md)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</td><td>
|
|
34
|
-
|
|
35
|
-
实例的注册插件的方法
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td></tr>
|
|
39
|
-
</tbody></table>
|
|
40
|
-
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPluginHost](./plugin-tls.ipluginhost.md) > [use](./plugin-tls.ipluginhost.use.md)
|
|
4
|
-
|
|
5
|
-
## IPluginHost.use() method
|
|
6
|
-
|
|
7
|
-
实例的注册插件的方法
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
use<P extends Plugin>(plugin: P, options: GetNormalizePluginOptions<P>): PluginCreatedReturnType<P> | void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
plugin
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
P
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
options
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
[GetNormalizePluginOptions](./plugin-tls.getnormalizepluginoptions.md)<!-- --><P>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td></tr>
|
|
61
|
-
</tbody></table>
|
|
62
|
-
|
|
63
|
-
**Returns:**
|
|
64
|
-
|
|
65
|
-
[PluginCreatedReturnType](./plugin-tls.plugincreatedreturntype.md)<!-- --><P> \| void
|
|
66
|
-
|
|
67
|
-
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPluginHostConstructor](./plugin-tls.ipluginhostconstructor.md)
|
|
4
|
-
|
|
5
|
-
## IPluginHostConstructor interface
|
|
6
|
-
|
|
7
|
-
插件宿主构造函数的接口
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface IPluginHostConstructor<HostClassType, Plugin extends IPlugin<HostClassType, any> = IPlugin<HostClassType, any>>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Methods
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Method
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Description
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th></tr></thead>
|
|
28
|
-
<tbody><tr><td>
|
|
29
|
-
|
|
30
|
-
[use(plugin, options)](./plugin-tls.ipluginhostconstructor.use.md)
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</td><td>
|
|
34
|
-
|
|
35
|
-
使用插件、注册插件
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td></tr>
|
|
39
|
-
</tbody></table>
|
|
40
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPluginHostConstructor](./plugin-tls.ipluginhostconstructor.md) > [use](./plugin-tls.ipluginhostconstructor.use.md)
|
|
4
|
-
|
|
5
|
-
## IPluginHostConstructor.use() method
|
|
6
|
-
|
|
7
|
-
使用插件、注册插件
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
use<P extends Plugin>(plugin: P, options: GetNormalizePluginOptions<P>): PluginUseReturnType<P> | void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
plugin
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
P
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
插件
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
options
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
[GetNormalizePluginOptions](./plugin-tls.getnormalizepluginoptions.md)<!-- --><P>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
传递给插件的选项
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
|
|
67
|
-
**Returns:**
|
|
68
|
-
|
|
69
|
-
[PluginUseReturnType](./plugin-tls.pluginusereturntype.md)<!-- --><P> \| void
|
|
70
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPluginWithInit](./plugin-tls.ipluginwithinit.md) > [inited](./plugin-tls.ipluginwithinit.inited.md)
|
|
4
|
-
|
|
5
|
-
## IPluginWithInit.inited() method
|
|
6
|
-
|
|
7
|
-
当宿主实例被初始化时调用
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
inited?(host: HostInst<HOST>, ...options: FormatUseParameters<Options>): any;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
host
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[HostInst](./plugin-tls.hostinst.md)<!-- --><HOST>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
新建的宿主实例
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
options
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
[FormatUseParameters](./plugin-tls.formatuseparameters.md)<!-- --><Options>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
注册插件时的选项
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
|
|
67
|
-
**Returns:**
|
|
68
|
-
|
|
69
|
-
any
|
|
70
|
-
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [IPluginWithInit](./plugin-tls.ipluginwithinit.md)
|
|
4
|
-
|
|
5
|
-
## IPluginWithInit interface
|
|
6
|
-
|
|
7
|
-
插件的接口
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface IPluginWithInit<HOST, Options = void> extends IPlugin<HOST, Options>
|
|
13
|
-
```
|
|
14
|
-
**Extends:** [IPlugin](./plugin-tls.iplugin.md)<!-- --><HOST, Options>
|
|
15
|
-
|
|
16
|
-
## Methods
|
|
17
|
-
|
|
18
|
-
<table><thead><tr><th>
|
|
19
|
-
|
|
20
|
-
Method
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Description
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th></tr></thead>
|
|
29
|
-
<tbody><tr><td>
|
|
30
|
-
|
|
31
|
-
[inited(host, options)?](./plugin-tls.ipluginwithinit.inited.md)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</td><td>
|
|
35
|
-
|
|
36
|
-
_(Optional)_ 当宿主实例被初始化时调用
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</td></tr>
|
|
40
|
-
</tbody></table>
|
|
41
|
-
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [ITierModeOptionsHost](./plugin-tls.itiermodeoptionshost.md)
|
|
4
|
-
|
|
5
|
-
## ITierModeOptionsHost interface
|
|
6
|
-
|
|
7
|
-
选项宿主接口
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface ITierModeOptionsHost<Options extends {} = any, Mode extends string | number = string>
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Property
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Modifiers
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Type
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Description
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th></tr></thead>
|
|
38
|
-
<tbody><tr><td>
|
|
39
|
-
|
|
40
|
-
[mode](./plugin-tls.itiermodeoptionshost.mode.md)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td><td>
|
|
47
|
-
|
|
48
|
-
Mode
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td><td>
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td></tr>
|
|
55
|
-
<tr><td>
|
|
56
|
-
|
|
57
|
-
[modeOptions](./plugin-tls.itiermodeoptionshost.modeoptions.md)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</td><td>
|
|
61
|
-
|
|
62
|
-
`readonly`
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
[TierModeOptions](./plugin-tls.tiermodeoptions.md)<!-- --><Mode, Options>
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</td><td>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td></tr>
|
|
74
|
-
</tbody></table>
|
|
75
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [ITierModeOptionsHost](./plugin-tls.itiermodeoptionshost.md) > [mode](./plugin-tls.itiermodeoptionshost.mode.md)
|
|
4
|
-
|
|
5
|
-
## ITierModeOptionsHost.mode property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
mode: Mode;
|
|
11
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [plugin-tls](./plugin-tls.md) > [ITierModeOptionsHost](./plugin-tls.itiermodeoptionshost.md) > [modeOptions](./plugin-tls.itiermodeoptionshost.modeoptions.md)
|
|
4
|
-
|
|
5
|
-
## ITierModeOptionsHost.modeOptions property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
readonly modeOptions: TierModeOptions<Mode, Options>;
|
|
11
|
-
```
|