Logger, Cors and Sessions

Learn to add middleware to an actix-web application.

We'll cover the following

Sometimes, we require middleware to integrate some functionality to our software. We’ll integrate three of them in this lesson.

Logger

Logger is useful for registering requests and their respective responses.

Luckily, it’s integrated into the framework, so we just need to configure it to work. We can see an example of a default logger.

Get hands-on with 1200+ tech skills courses.