ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
473 stars 209 forks source link

how to get amount of data which was uploaded and downloaded?(with an example) #190

Open kasra7272 opened 3 years ago

ss-abramchuk commented 3 years ago

Hi @kasra7272,

I'm afraid I don't have such example. But is is not rocket science, you may implement it yourself using OpenVPNAdapter. interfaceStatistics, OpenVPNAdapter.transportStatistics, UserDefaults and KVO