Summary
Middleware is common as a way to extend the http request pipeline. Can we support user middleware?
Basic example
Logging or setting a scoped service is a common use case.
Motivation
We would be able to demonstrate simple http request middleware.
Additional context
Out of scope are the more complex ones from AspNetCore, i.e. cors and static asset hosting. The goal is to support user's rather than create fake implementations for everything that's incompatible in a browser/webassembly context
Summary
Middleware is common as a way to extend the http request pipeline. Can we support user middleware?
Basic example
Logging or setting a scoped service is a common use case.
Motivation
We would be able to demonstrate simple http request middleware.
Additional context
Out of scope are the more complex ones from AspNetCore, i.e. cors and static asset hosting. The goal is to support user's rather than create fake implementations for everything that's incompatible in a browser/webassembly context