I have an Azure v2 (and v3 preview) function (HTTP Trigger) that has a signature like this:
public static async Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post",
Route = null)] HttpRequest req,
ILogger log)
I've checked the documentation and try as I might, I'm not able to find any reference to how I might get a reference to the HTTPResponse object as I would in ASP.NET, for instance.
I'm trying to set both a custom header as well as a custom cookie. The HTTPRequest object doesn't appear to have any access to anything response related.
