I am creating v2 azure functions in .net core 2.0 to be hosted in Linux platform. When I create new azure function in visual studio the req parameter for Run function is HttpRequest. Can I can this to HttpRequestMessage? I want to read Authorization header easily.
Azure Functions 2.x's HttpTrigger recognizes HttpRequestMessage, so there shouldn't be any problems substituting it for HttpRequest. (Either class exposes the Authorization header, though.)