Skip to content

Support Middleware on Web API #37

@thatplatypus

Description

@thatplatypus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeatureBrand new functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions