XTLS / libXray

MIT License
64 stars 57 forks source link

在iOS项目中使用Libxray.xcframework的咨询 #3

Closed houmie closed 1 year ago

houmie commented 1 year ago

你好,

感谢你的精彩项目。

我已经为iOS编译了这个项目,并添加到我的项目中。我是否需要在我的PacketTunnelProvider中使用这个框架?例如,我是否可以在startTunnel()等函数中直接运行LibxrayRunXray()?

请问有关于如何在iOS中使用这个框架的文档吗?

谢谢你,

ghost commented 1 year ago

Mango is a very good open-source project. If you know little about Network Extension or Xray-core, researching Mango is a better choice. Currently, no document will be offered about this lib.

ghost commented 1 year ago

Try to read the source code.

https://github.com/XTLS/libXray/blob/main/xray.go#L40