【文件属性】:
文件名称:newnode:NewNode分散式内容分发网络
文件大小:12.64MB
文件格式:ZIP
更新时间:2021-02-03 12:59:34
library sdk bittorrent cdn network
新节点
整合状态
安卓
添加到您的build.gradle中:
implementation ' com.clostra.newnode:newnode:+ '
添加到您的应用程序或活动中:
import com.clostra.newnode.NewNode ;
@Override
protected void onCreate( Bundle savedInstanceState) {
super . onCreate(savedInstanceState);
NewNode . init();
}
有关请参见 。
的iOS
将此仓库添加为Swift软件包。
对象:
NSURLSessionConfiguration *config = NSURLSessionConfiguration .defaultSessionConfiguration;
config.connectionProxyDictionary = NewNode.connectionProxyDictionary;
NSURLSession *session = [ NSURLSes