- 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.
推薦閱讀
- Python數據分析與挖掘實戰
- 云數據中心基礎
- Creating Mobile Apps with Sencha Touch 2
- Access 2007數據庫應用上機指導與練習
- 深入淺出MySQL:數據庫開發、優化與管理維護(第2版)
- 企業級數據與AI項目成功之道
- Hands-On Mathematics for Deep Learning
- SQL應用及誤區分析
- Oracle RAC日記
- Python數據分析與挖掘實戰(第3版)
- 貫通SQL Server 2008數據庫系統開發
- Mastering ROS for Robotics Programming(Second Edition)
- Spring Boot 2.0 Cookbook(Second Edition)
- 大數據測試技術:數據采集、分析與測試實踐(在線實驗+在線自測)
- 一本書讀懂大數據