SwiftMesh
SwiftMesh copied to clipboard
swift砖块系列:基于Alamofire5的Combine封装,更加快捷的发起网络请求,支持SwiftUI
Results
2
SwiftMesh issues
Sort by
recently updated
recently updated
newest added
像Moya那样可以在请求开始和结束的时候统一做一些处理。
像这个请求,如果请求错误了只返还nil,怎么获取错误情况进行相应的操作呢?MeshRequest.get(“https://api.apiopen.top/getJoke?page=1&count=2&type=video”) { (model) in print(model!) }