RequestAdapter allows the client to make changes to the URL request before it goes out, so for example we can update the authentication token with a bearer token which changes frequently.
new methods wsRequest() and wsUpdate are copies of the Alamofire methods except they set the request adapter - if any - before firing off the request.
Alamofire 5 will have an asyncrhonous request adapter that will allow async calls to be made before requests are sent off, but this is still based on AF4.
Addresses this issue: https://github.com/freshOS/ws/issues/61
RequestAdapter allows the client to make changes to the URL request before it goes out, so for example we can update the authentication token with a bearer token which changes frequently.
new methods wsRequest() and wsUpdate are copies of the Alamofire methods except they set the request adapter - if any - before firing off the request.
Alamofire 5 will have an asyncrhonous request adapter that will allow async calls to be made before requests are sent off, but this is still based on AF4.