TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2017 |
Maintained by hypoyao.
Just add this to your Podfile
pod 'WRHttpDNS'
### Other approaches Download all files under WRHttpDNS directory.
## Usage Support NSURLSession and NSURLConnection,call the method before a real request.
[[WRHttpDNSManager shareInstance] useHttpDNSWithRequest:request];
If network responsed an error, you should check the error.
[[WRHttpDNSManager shareInstance] checkHttpDNSError:error domain:domain]
As https connection, you should implement some delegate as WRURLSessionDelegate
or WRURLConnecitonDelegate
.
WRHttpDNS is released under the MIT license. See LICENSE for details.