10

Advanced Networking with URLSession [SUBSCRIBER]

 2 years ago
source link: https://www.raywenderlich.com/32317111-advanced-networking-with-urlsession
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Upload Data, Background Downloads & WebSockets

Introduction

1:40 Free

Introduction to the Advanced Networking with URLSession course.

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

Upload Data

14:43

Learn how to upload data to your local Vapor instance.

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

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

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.

Conclusion

0:37

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

Authentication, Cookies & App Transport Security

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

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

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.

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

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.

Conclusion

1:46

Wrap up the course and review the learned contents.

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

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK