Skip to content

Can't get the middleware example to work #2399

@beowulf1416

Description

@beowulf1416

I copied the example from the page https://actix.rs/docs/middleware/ about creating a middleware but I cannot get it to work. The Service trait requires 1 generics argument but 2 generics argument is being passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions