This is part of the "iOS Data and Networking" learning path. View Path

Advanced Networking with URLSession

Sep 15 2022 · Video Course (1 hr, 12 mins) · Intermediate

Dive deeper into URLSession. Learn how to upload data and how to perform background downloads. Work with sockets and use WebSockets for real-time messaging. Learn about authentication, App Transport Security, and cookies.

Version

  • Swift 5.6, iOS 15, Xcode 13.4.1

Upload Data, Background Downloads & WebSockets

Introduction

1:40 Free

Introduction to the Advanced Networking with URLSession course.

1

Learn about Vapor, the open-source server written in Swift, and how to install it locally for the next episode.

2

Upload Data

14:43

Learn how to upload data to your local Vapor instance.

3

Learn about background tasks and how to use one to handle background events.

4

Provide viewers with an overview of BSD sockets and explain how Apple’s networking framework works.

5

Use the WebSocket task to connect to a local Vapor server in order to send messages in real-time. You will, essentially, create a very small and simple chat server.

6

Conclusion

0:37

Wrap up the first part of the course and review the learned contents.

7

Authentication, Cookies & App Transport Security

Introduction to part 2 of the Advanced Networking with URLSession course.

8

Learn about the different ways to authenticate, and provide authentication, when working with URLSession.

9

iOS tends to be quite strict when it comes to security, specially when making network requests. Learn about App Transport Security and how it can affect your network requests.

10

Learn about cookies and their role in networking. You’ll also work with cookies.

11

In this challenge, you’ll use the knowledge gained in the previous episode to print not just one, but all of the cookies available to you from your request.

12

Conclusion

1:46

Wrap up the course and review the learned contents.

13

Next course in this Learning Path

Who is this for?

Intermediate developers. You should be comfortable with the Swift programming language.

You’ll start by uploading data, then you’ll learn how to make background network requests. Later, you’ll learn how to work with sockets, how to make authenticated requests, and about App Transport Security.

Finaly, you’ll learn how to work with cookies.

Covered concepts

  • URLSession
  • Uploading Files
  • Vapor
  • Background Downloads
  • Authentication
  • Sockets
  • WebSockets
  • App Transport Security
  • Cookies

Contributors

Comments