File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
| ---------------------- | --- | ------- | -------------------------------------------------------- | ------- | ------------------------- |
11
11
| connect | ✅ | ✅ | options: [ VpnOptions] ( #vpnoptions ) | promise | 连接 OpenVPN |
12
12
| disconnect | ✅ | ✅ | 无 | promise | 关闭 OpenVPN 连接 |
13
- | getCurrentState | ✅ | ✅ | none | promise | 获取 VPN 当前状态 |
13
+ | getCurrentState | ✅ | ✅ | 无 | promise | 获取 VPN 当前状态 |
14
14
| observeState | ✅ | ❌ | 无 | promise | 监听 VPN 状态 |
15
15
| stopObserveState | ✅ | ❌ | 无 | promise | 停止监听 VPN 状态 |
16
16
| addVpnStateListener | ✅ | ✅ | callback: (e: [ VpnEventParams] ( #vpneventparams ) ) => void | void | 添加 VPN 状态变更事件监听 |
@@ -63,11 +63,11 @@ OpenVPN 配置文件的名称,不含扩展名,未传入时使用默认名称
63
63
64
64
#### username
65
65
66
- 鉴权用户名, 未传入时使用默认名称 ` '' `
66
+ 鉴权用户名, 未传入时使用默认值 ` '' `
67
67
68
68
#### password
69
69
70
- 鉴权密码, 未传入时使用默认名称 ` '' `
70
+ 鉴权密码, 未传入时使用默认值 ` '' `
71
71
72
72
#### assetsPath
73
73
You can’t perform that action at this time.
0 commit comments