In the Alamofire 5 Beta, SessionManager has been replaced by Session.
I am wondering what the procedure is now for assigning a RequestAdapter, as this was a var in Alamofire 4, but in Alamofire 5 it's now a let constant. Hence the following code:
var session = Session()
session.adapter = AccessTokenAdapter
throws a compile-time error, "Cannot assign to property: 'adapter' is a 'let' constant"
The end goal is to set custom header fields such as JWT token.