rivantsov / vita

VITA Application Framework
MIT License
59 stars 15 forks source link

Read request header from OperationContext #143

Closed jasonlaw closed 4 years ago

jasonlaw commented 4 years ago

Hi,

Is it possible (and how) to read the request header's contents from OperationContext?

Thanks in advance?

rivantsov commented 4 years ago

try reaching thru:

opContext.WebContext.Request.Headers when running in web app (with VitaWebMiddleware) - this should contain header values