Hands-On Full:Stack Web Development with ASP.NET Core
上QQ阅读APP看书,第一时间看更新

Header values

Header values can be bound to parameters in your method by placing the [FromHeader("Header Name")] attribute on the bounded parameter and stating the name of the header you wish to bind to.