- 博客(4)
- 收藏
- 关注
原创 Linux常用下载工具--curl
常规访问curl http://www.myh0st.cn文件名正则curl ftp://ftp.myh0st.cn/file[1-100].txt curl ftp://ftp.myh0st.cn/file[1-100:10].txt curl ftp://ftp.myh0st.cn/file[001-100].txt curl ftp://ftp.myh0st.cn/file[a-z].txt curl ftp://ftp.myh0st.cn/file[a-z:2].txt
2020-05-28 15:53:04
557
原创 Linux常用下载工具--wget
普通下载wget http://example.com/file.iso指定保存文件名wget ‐‐output-document=myname.iso http://example.com/file.iso保存到指定目录wget ‐‐directory-prefix=folder/subfolder http://example.com/file.iso大文件断点续传wget ‐‐continue http://example.com/big.file.iso下载最新版本wget
2020-05-28 12:22:04
469
转载 iOS 设置代理(Proxy)方案总结
在打开某个网址时设置 HTTP 代理,iOS目前有三种方案可以实现:使用 URLProtocol使用 WKWebURLSchemeHandler使用NetworkExtension其中第三种可以不用考虑了,作为一名中国开发者,你根本申请不到证书。。那么我们就看一下前两种:URLProtocol我们先了解一下他是个啥:NSURLProtocol是 iOS里面的URL Loadin...
2020-05-06 11:29:46
1431
原创 Mac开发----让请求走代理(URLSessionConfiguration Proxy)
话不多说,直接上代码://设置HTTP代理let sessionConfiguration: URLSessionConfiguration = .defaultlet proxyConfiguration: [AnyHashable : Any] = [ kCFNetworkProxiesHTTPEnable: true, kCFNetworkProxiesHTTPPort: 1...
2020-05-06 11:01:06
1296
2
空空如也
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人 TA的粉丝