JamesRandall / FunctionMonkey

Write more elegant Azure Functions with less boilerplate, more consistency, and support for REST APIs. Docs can be found at https://functionmonkey.azurefromthetrenches.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accessing request headers

umashankarsharma opened this issue · comments

I am actually a newbie in C#, but can you let me know how to access the request headers in my handler. I am using the below in my config file. Wanted to know how to access this in handler.

.DefaultHttpHeaderBindingConfiguration(new HeaderBindingConfiguration
{
PropertyFromHeaderMappings = new Dictionary<string, string>
{
{ "OperationId", "x-operation-id" }