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 1010| ---------------------- | --- | ------- | -------------------------------------------------------- | ------- | ------------------------- |
1111| connect | ✅ | ✅ | options: [ VpnOptions] ( #vpnoptions ) | promise | 连接 OpenVPN |
1212| disconnect | ✅ | ✅ | 无 | promise | 关闭 OpenVPN 连接 |
13- | getCurrentState | ✅ | ✅ | none | promise | 获取 VPN 当前状态 |
13+ | getCurrentState | ✅ | ✅ | 无 | promise | 获取 VPN 当前状态 |
1414| observeState | ✅ | ❌ | 无 | promise | 监听 VPN 状态 |
1515| stopObserveState | ✅ | ❌ | 无 | promise | 停止监听 VPN 状态 |
1616| addVpnStateListener | ✅ | ✅ | callback: (e: [ VpnEventParams] ( #vpneventparams ) ) => void | void | 添加 VPN 状态变更事件监听 |
@@ -63,11 +63,11 @@ OpenVPN 配置文件的名称,不含扩展名,未传入时使用默认名称
6363
6464#### username
6565
66- 鉴权用户名, 未传入时使用默认名称 ` '' `
66+ 鉴权用户名, 未传入时使用默认值 ` '' `
6767
6868#### password
6969
70- 鉴权密码, 未传入时使用默认名称 ` '' `
70+ 鉴权密码, 未传入时使用默认值 ` '' `
7171
7272#### assetsPath
7373
You can’t perform that action at this time.
0 commit comments