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.
Files changed (163) hide show
  1. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.d.ts +2 -2
  2. package/dist/options/options-plugin-host/tier-mode-options/TierModeOptionsPluginHostEventEmitter.d.ts.map +1 -1
  3. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.d.ts +2 -2
  4. package/dist/options/options-plugin-host/tier-options/TierOptionsPluginHostEventEmitter.d.ts.map +1 -1
  5. package/dist/plugin-host/PluginHostEventEmitter.d.ts +3 -3
  6. package/dist/plugin-host/PluginHostEventEmitter.d.ts.map +1 -1
  7. package/package.json +3 -3
  8. package/doc/api/index.md +0 -32
  9. package/doc/api/plugin-tls.adddefaultoptions.md +0 -75
  10. package/doc/api/plugin-tls.addinstoptions.md +0 -85
  11. package/doc/api/plugin-tls.allfunctionapply.md +0 -80
  12. package/doc/api/plugin-tls.becomepluginhost.md +0 -15
  13. package/doc/api/plugin-tls.becomepluginhost_extends.md +0 -72
  14. package/doc/api/plugin-tls.becomepluginhost_proxy.md +0 -57
  15. package/doc/api/plugin-tls.becometiermodeoptionshost.md +0 -15
  16. package/doc/api/plugin-tls.becometieroptionshost.md +0 -15
  17. package/doc/api/plugin-tls.classextender.md +0 -15
  18. package/doc/api/plugin-tls.classextenderprivatemember._constructors.md +0 -13
  19. package/doc/api/plugin-tls.classextenderprivatemember._destroys.md +0 -13
  20. package/doc/api/plugin-tls.classextenderprivatemember.md +0 -81
  21. package/doc/api/plugin-tls.classextenderprivatememberwithinit._inits.md +0 -13
  22. package/doc/api/plugin-tls.classextenderprivatememberwithinit.md +0 -61
  23. package/doc/api/plugin-tls.classextenderwithinit.md +0 -15
  24. package/doc/api/plugin-tls.classtype._new_.md +0 -50
  25. package/doc/api/plugin-tls.classtype.md +0 -38
  26. package/doc/api/plugin-tls.commonmodename.md +0 -18
  27. package/doc/api/plugin-tls.createcallerofprivatememberofextend.md +0 -58
  28. package/doc/api/plugin-tls.createdefinemixin.md +0 -23
  29. package/doc/api/plugin-tls.createextendtarget.md +0 -60
  30. package/doc/api/plugin-tls.createextendtargetwithinit.md +0 -60
  31. package/doc/api/plugin-tls.createmixintarget.md +0 -58
  32. package/doc/api/plugin-tls.createpluginhost.md +0 -140
  33. package/doc/api/plugin-tls.createpropertysetter.md +0 -71
  34. package/doc/api/plugin-tls.createtargetextend.md +0 -60
  35. package/doc/api/plugin-tls.createtargetextendwithinit.md +0 -60
  36. package/doc/api/plugin-tls.createtargetmixin.md +0 -60
  37. package/doc/api/plugin-tls.createtiermodeoptionspluginhost.md +0 -138
  38. package/doc/api/plugin-tls.createtieroptionspluginhost.md +0 -135
  39. package/doc/api/plugin-tls.defineextend.md +0 -80
  40. package/doc/api/plugin-tls.defineextendwithinit.md +0 -80
  41. package/doc/api/plugin-tls.definemixin.md +0 -76
  42. package/doc/api/plugin-tls.extendtarget.md +0 -76
  43. package/doc/api/plugin-tls.extendtargetwithinit.md +0 -76
  44. package/doc/api/plugin-tls.formatuseparameters.md +0 -13
  45. package/doc/api/plugin-tls.formatusepluginparameters.md +0 -15
  46. package/doc/api/plugin-tls.getnormalizepluginoptions.md +0 -15
  47. package/doc/api/plugin-tls.getpluginoptions.md +0 -15
  48. package/doc/api/plugin-tls.getpropertyvalue.md +0 -67
  49. package/doc/api/plugin-tls.getpropertyvaluebypath.md +0 -67
  50. package/doc/api/plugin-tls.gettargetproperties.md +0 -67
  51. package/doc/api/plugin-tls.hostinst.md +0 -13
  52. package/doc/api/plugin-tls.idefaultoptionshost.defaultoptions.md +0 -11
  53. package/doc/api/plugin-tls.idefaultoptionshost.md +0 -58
  54. package/doc/api/plugin-tls.iidefaultoptionshostconstructor.md +0 -13
  55. package/doc/api/plugin-tls.iplugin.created.md +0 -70
  56. package/doc/api/plugin-tls.iplugin.destroyed.md +0 -70
  57. package/doc/api/plugin-tls.iplugin.md +0 -62
  58. package/doc/api/plugin-tls.iplugin.used.md +0 -70
  59. package/doc/api/plugin-tls.ipluginhost.md +0 -40
  60. package/doc/api/plugin-tls.ipluginhost.use.md +0 -67
  61. package/doc/api/plugin-tls.ipluginhostconstructor.md +0 -40
  62. package/doc/api/plugin-tls.ipluginhostconstructor.use.md +0 -70
  63. package/doc/api/plugin-tls.ipluginwithinit.inited.md +0 -70
  64. package/doc/api/plugin-tls.ipluginwithinit.md +0 -41
  65. package/doc/api/plugin-tls.itiermodeoptionshost.md +0 -75
  66. package/doc/api/plugin-tls.itiermodeoptionshost.mode.md +0 -11
  67. package/doc/api/plugin-tls.itiermodeoptionshost.modeoptions.md +0 -11
  68. package/doc/api/plugin-tls.itiermodeoptionshostconstructor.md +0 -13
  69. package/doc/api/plugin-tls.itiermodeoptionspluginhost.md +0 -15
  70. package/doc/api/plugin-tls.itiermodeoptionspluginhostconstructor.md +0 -15
  71. package/doc/api/plugin-tls.itieroptionshost.defaultoptions.md +0 -11
  72. package/doc/api/plugin-tls.itieroptionshost.md +0 -58
  73. package/doc/api/plugin-tls.itieroptionshostconstructor.md +0 -13
  74. package/doc/api/plugin-tls.itieroptionspluginhost.md +0 -15
  75. package/doc/api/plugin-tls.itieroptionspluginhostconstructor.md +0 -15
  76. package/doc/api/plugin-tls.md +0 -989
  77. package/doc/api/plugin-tls.mergeproperties.md +0 -66
  78. package/doc/api/plugin-tls.mixin_4.md +0 -78
  79. package/doc/api/plugin-tls.mixintarget.md +0 -76
  80. package/doc/api/plugin-tls.modeoptions._constructor_.md +0 -48
  81. package/doc/api/plugin-tls.modeoptions._constructor__1.md +0 -64
  82. package/doc/api/plugin-tls.modeoptions._mode.md +0 -11
  83. package/doc/api/plugin-tls.modeoptions._modenames.md +0 -11
  84. package/doc/api/plugin-tls.modeoptions._plainfulloption.md +0 -11
  85. package/doc/api/plugin-tls.modeoptions.getfullmodeoption.md +0 -57
  86. package/doc/api/plugin-tls.modeoptions.getmodenames.md +0 -18
  87. package/doc/api/plugin-tls.modeoptions.getmodeoption.md +0 -57
  88. package/doc/api/plugin-tls.modeoptions.hasmode.md +0 -53
  89. package/doc/api/plugin-tls.modeoptions.md +0 -381
  90. package/doc/api/plugin-tls.modeoptions.mode.md +0 -15
  91. package/doc/api/plugin-tls.modeoptions.modenames.md +0 -13
  92. package/doc/api/plugin-tls.modeoptions.modes.md +0 -13
  93. package/doc/api/plugin-tls.modeoptions.option.md +0 -13
  94. package/doc/api/plugin-tls.modeoptions.optionmanager.md +0 -13
  95. package/doc/api/plugin-tls.modeoptions.plainfulloption.md +0 -11
  96. package/doc/api/plugin-tls.modeoptions.setmodeoption.md +0 -98
  97. package/doc/api/plugin-tls.modeoptions.updatefulloption.md +0 -17
  98. package/doc/api/plugin-tls.normalizepluginoptions.md +0 -18
  99. package/doc/api/plugin-tls.parsepropertypath.md +0 -53
  100. package/doc/api/plugin-tls.plugincreatedreturntype.md +0 -15
  101. package/doc/api/plugin-tls.pluginhost._pluginmanager.md +0 -11
  102. package/doc/api/plugin-tls.pluginhost.destroythis.md +0 -18
  103. package/doc/api/plugin-tls.pluginhost.md +0 -177
  104. package/doc/api/plugin-tls.pluginhost.pluginmanager.md +0 -13
  105. package/doc/api/plugin-tls.pluginhost.use.md +0 -70
  106. package/doc/api/plugin-tls.pluginmanager._constructor_.md +0 -50
  107. package/doc/api/plugin-tls.pluginmanager.created.md +0 -58
  108. package/doc/api/plugin-tls.pluginmanager.destroyed.md +0 -58
  109. package/doc/api/plugin-tls.pluginmanager.host.md +0 -13
  110. package/doc/api/plugin-tls.pluginmanager.instuse.md +0 -86
  111. package/doc/api/plugin-tls.pluginmanager.md +0 -214
  112. package/doc/api/plugin-tls.pluginmanager.pluginoptsmap.md +0 -13
  113. package/doc/api/plugin-tls.pluginmanager.plugins.md +0 -13
  114. package/doc/api/plugin-tls.pluginmanager.use.md +0 -70
  115. package/doc/api/plugin-tls.pluginmanagerwithinit.inited.md +0 -58
  116. package/doc/api/plugin-tls.pluginmanagerwithinit.md +0 -53
  117. package/doc/api/plugin-tls.pluginusereturntype.md +0 -15
  118. package/doc/api/plugin-tls.privatememberofextend._constructor.md +0 -60
  119. package/doc/api/plugin-tls.privatememberofextend._destroy.md +0 -25
  120. package/doc/api/plugin-tls.privatememberofextend.md +0 -51
  121. package/doc/api/plugin-tls.privatememberofextendwithinit._init.md +0 -56
  122. package/doc/api/plugin-tls.privatememberofextendwithinit.md +0 -41
  123. package/doc/api/plugin-tls.replaceconstructorparameters.md +0 -13
  124. package/doc/api/plugin-tls.replaceconstructorreturn.md +0 -13
  125. package/doc/api/plugin-tls.setpropertyvalue.md +0 -81
  126. package/doc/api/plugin-tls.setpropertyvaluebypath.md +0 -81
  127. package/doc/api/plugin-tls.targetextend.md +0 -76
  128. package/doc/api/plugin-tls.targetextendwithinit.md +0 -76
  129. package/doc/api/plugin-tls.targetmixin.md +0 -76
  130. package/doc/api/plugin-tls.tiermodeoptions._constructor_.md +0 -48
  131. package/doc/api/plugin-tls.tiermodeoptions._constructor__1.md +0 -80
  132. package/doc/api/plugin-tls.tiermodeoptions._extends.md +0 -11
  133. package/doc/api/plugin-tls.tiermodeoptions.extends.md +0 -15
  134. package/doc/api/plugin-tls.tiermodeoptions.getfullmodeoption.md +0 -57
  135. package/doc/api/plugin-tls.tiermodeoptions.getmember.md +0 -53
  136. package/doc/api/plugin-tls.tiermodeoptions.getmodenames.md +0 -18
  137. package/doc/api/plugin-tls.tiermodeoptions.getmodeoptionmanager.md +0 -53
  138. package/doc/api/plugin-tls.tiermodeoptions.getvalue.md +0 -53
  139. package/doc/api/plugin-tls.tiermodeoptions.hasmodeontier.md +0 -53
  140. package/doc/api/plugin-tls.tiermodeoptions.md +0 -255
  141. package/doc/api/plugin-tls.tiermodeoptions.optionmanager.md +0 -13
  142. package/doc/api/plugin-tls.tiermodeoptionsdecorator.md +0 -71
  143. package/doc/api/plugin-tls.tiermodeoptionspluginhost._constructor_.md +0 -48
  144. package/doc/api/plugin-tls.tiermodeoptionspluginhost._modeoptions.md +0 -11
  145. package/doc/api/plugin-tls.tiermodeoptionspluginhost.md +0 -179
  146. package/doc/api/plugin-tls.tiermodeoptionspluginhost.mode.md +0 -13
  147. package/doc/api/plugin-tls.tiermodeoptionspluginhost.modeoptions.md +0 -13
  148. package/doc/api/plugin-tls.tiermodeoptionspluginhost.options.md +0 -11
  149. package/doc/api/plugin-tls.tieroptions._constructor_.md +0 -66
  150. package/doc/api/plugin-tls.tieroptions._extends.md +0 -11
  151. package/doc/api/plugin-tls.tieroptions._plainfulloption.md +0 -11
  152. package/doc/api/plugin-tls.tieroptions.extends.md +0 -15
  153. package/doc/api/plugin-tls.tieroptions.getmember.md +0 -53
  154. package/doc/api/plugin-tls.tieroptions.getvalue.md +0 -53
  155. package/doc/api/plugin-tls.tieroptions.md +0 -231
  156. package/doc/api/plugin-tls.tieroptions.option.md +0 -13
  157. package/doc/api/plugin-tls.tieroptions.plainfulloption.md +0 -18
  158. package/doc/api/plugin-tls.tieroptions.updatefulloption.md +0 -17
  159. package/doc/api/plugin-tls.tieroptionsdecorator.md +0 -71
  160. package/doc/api/plugin-tls.tieroptionspluginhost._constructor_.md +0 -48
  161. package/doc/api/plugin-tls.tieroptionspluginhost._defaultoptions.md +0 -11
  162. package/doc/api/plugin-tls.tieroptionspluginhost.defaultoptions.md +0 -13
  163. package/doc/api/plugin-tls.tieroptionspluginhost.md +0 -143
@@ -1,66 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [mergeProperties](./plugin-tls.mergeproperties.md)
4
-
5
- ## mergeProperties() function
6
-
7
- 合并属性 该方法会将 props 深度合并到 target 中, - 所有 纯对象 的属性值都会被作为 props 进行深度合并 - 对于不是纯对象的属性,会将其视为属性值设置到到目标中对应的属性上
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export declare function mergeProperties(target: any, props: any): 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
- target
36
-
37
-
38
- </td><td>
39
-
40
- any
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- <tr><td>
48
-
49
- props
50
-
51
-
52
- </td><td>
53
-
54
- any
55
-
56
-
57
- </td><td>
58
-
59
-
60
- </td></tr>
61
- </tbody></table>
62
-
63
- **Returns:**
64
-
65
- any
66
-
@@ -1,78 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [mixin](./plugin-tls.mixin_4.md)
4
-
5
- ## mixin() function
6
-
7
- 混合
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export declare function mixin(target: any, ...sources: any[]): 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
- target
36
-
37
-
38
- </td><td>
39
-
40
- any
41
-
42
-
43
- </td><td>
44
-
45
- 目标对象,所有 源对象 的属性都要被混入进到 目标对象中
46
-
47
-
48
- </td></tr>
49
- <tr><td>
50
-
51
- sources
52
-
53
-
54
- </td><td>
55
-
56
- any\[\]
57
-
58
-
59
- </td><td>
60
-
61
- 源对象,所有 源对象 的属性都要被混入进到 目标对象中
62
-
63
-
64
- </td></tr>
65
- </tbody></table>
66
-
67
- **Returns:**
68
-
69
- any
70
-
71
- 混入后的 target
72
-
73
- ## Remarks
74
-
75
- 将 source 的所有成员混入 target 对象中。
76
-
77
- 与 `Object.assign()` 的功能类似,不同的是 `mixin()` 会在 target 对象中 保持 source 对象属性的 PropertyDescriptors
78
-
@@ -1,76 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [mixinTarget](./plugin-tls.mixintarget.md)
4
-
5
- ## mixinTarget() function
6
-
7
- 混合目标
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export declare function mixinTarget<T, M>(target: T, m: M & ThisType<T & M>): M & ThisType<T & M> & T;
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
- target
36
-
37
-
38
- </td><td>
39
-
40
- T
41
-
42
-
43
- </td><td>
44
-
45
- 混合的目标,用作 this 的类型
46
-
47
-
48
- </td></tr>
49
- <tr><td>
50
-
51
- m
52
-
53
-
54
- </td><td>
55
-
56
- M &amp; ThisType&lt;T &amp; M&gt;
57
-
58
-
59
- </td><td>
60
-
61
- 混合对象,会自动更改其this的类型
62
-
63
-
64
- </td></tr>
65
- </tbody></table>
66
-
67
- **Returns:**
68
-
69
- M &amp; ThisType&lt;T &amp; M&gt; &amp; T
70
-
71
- 返回混合后的 target 对象
72
-
73
- ## Remarks
74
-
75
- 会执行对 CEarth 类的扩展操作。 与 [targetMixin()](./plugin-tls.targetmixin.md) 的区别仅仅是返回类型不一样。
76
-
@@ -1,48 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [(constructor)](./plugin-tls.modeoptions._constructor_.md)
4
-
5
- ## ModeOptions.(constructor)
6
-
7
- Constructs a new instance of the `ModeOptions` class
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- constructor(mode: Mode);
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
- mode
36
-
37
-
38
- </td><td>
39
-
40
- Mode
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
@@ -1,64 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [(constructor)](./plugin-tls.modeoptions._constructor__1.md)
4
-
5
- ## ModeOptions.(constructor)
6
-
7
- Constructs a new instance of the `ModeOptions` class
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- constructor(mode: Mode, options?: Option);
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
- mode
36
-
37
-
38
- </td><td>
39
-
40
- Mode
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- <tr><td>
48
-
49
- options
50
-
51
-
52
- </td><td>
53
-
54
- Option
55
-
56
-
57
- </td><td>
58
-
59
- _(Optional)_
60
-
61
-
62
- </td></tr>
63
- </tbody></table>
64
-
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [\_mode](./plugin-tls.modeoptions._mode.md)
4
-
5
- ## ModeOptions.\_mode property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected _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) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [\_modeNames](./plugin-tls.modeoptions._modenames.md)
4
-
5
- ## ModeOptions.\_modeNames property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected _modeNames: Mode[] | null;
11
- ```
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [\_plainFullOption](./plugin-tls.modeoptions._plainfulloption.md)
4
-
5
- ## ModeOptions.\_plainFullOption property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected _plainFullOption: Option | null;
11
- ```
@@ -1,57 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [getFullModeOption](./plugin-tls.modeoptions.getfullmodeoption.md)
4
-
5
- ## ModeOptions.getFullModeOption() method
6
-
7
- 返回已合并继承选项的完整选项
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getFullModeOption(mode: Mode): Option | null;
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
- mode
36
-
37
-
38
- </td><td>
39
-
40
- Mode
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
49
- **Returns:**
50
-
51
- Option \| null
52
-
53
-
54
- ## Remarks
55
-
56
- 与继承选项合并
57
-
@@ -1,18 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [getModeNames](./plugin-tls.modeoptions.getmodenames.md)
4
-
5
- ## ModeOptions.getModeNames() method
6
-
7
- 获取所有的模式名字
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getModeNames(): Mode[];
13
- ```
14
- **Returns:**
15
-
16
- Mode\[\]
17
-
18
-
@@ -1,57 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [getModeOption](./plugin-tls.modeoptions.getmodeoption.md)
4
-
5
- ## ModeOptions.getModeOption() method
6
-
7
- 返回已合并继承选项的选项
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getModeOption(mode: Mode): Option | null;
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
- mode
36
-
37
-
38
- </td><td>
39
-
40
- Mode
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
49
- **Returns:**
50
-
51
- Option \| null
52
-
53
-
54
- ## Remarks
55
-
56
- 与继承选项只是浅合并
57
-
@@ -1,53 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [ModeOptions](./plugin-tls.modeoptions.md) &gt; [hasMode](./plugin-tls.modeoptions.hasmode.md)
4
-
5
- ## ModeOptions.hasMode() method
6
-
7
- 判断是否有某个模式
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- hasMode(mode: string | number): boolean;
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
- mode
36
-
37
-
38
- </td><td>
39
-
40
- string \| number
41
-
42
-
43
- </td><td>
44
-
45
-
46
- </td></tr>
47
- </tbody></table>
48
-
49
- **Returns:**
50
-
51
- boolean
52
-
53
-