twitchax / AspNetCore.Proxy

ASP.NET Core Proxies made easy.
MIT License
505 stars 80 forks source link

how to pass state , parameter in between methods ? #79

Closed odin88 closed 3 years ago

odin88 commented 3 years ago

I want to write a cache logic based on what I get in WithIntercept(). So how do share the variable, state to WithAfterReceive() ?

twitchax commented 3 years ago

Yeah, you can use HttpContext.Items.