- Hands-On Design Patterns with Swift
- Florent Vilmart Giordano Scalzo Sergio De Simone
- 78字
- 2021-07-02 14:45:12
HTTP with URLSession
URLSession is a class that manages tasks related to network data transfers. You use URLSession when you want to download or upload data to an HTTP server.
Combined with Codable types, URLSession provides a very convenient abstraction over your network requests, if you're using a JSON-based API, for example. In this section, we'll look at how we can use Encodable and Decodable to represent request and responses bodies in a generic and compile time-safe manner.
推薦閱讀
- SQL Server 2012數據庫技術與應用(微課版)
- 云計算與大數據應用
- 醫療大數據挖掘與可視化
- Enterprise Integration with WSO2 ESB
- Microsoft Power BI數據可視化與數據分析
- ZeroMQ
- SQL應用及誤區分析
- Hadoop 3實戰指南
- 信息融合中估計算法的性能評估
- Unity Game Development Blueprints
- Swift Functional Programming(Second Edition)
- 數據中臺實戰:手把手教你搭建數據中臺
- Kubernetes快速進階與實戰
- 推薦系統全鏈路設計:原理解讀與業務實踐
- AI Crash Course