Skip to content

Add Connect-like middleware #23

Open
@jergason

Description

@jergason

It would be awesome to have some kind of middleware to pass the request and response to once the request finishes.

Maybe pass in an array of middleware functions when you require ahr, and then pass the results of NativeHttpClient(req, res) through each of the middlewares. I am still trying to wrap my head around the code a little bit though.
@Gissues:{"order":20,"status":"backlog"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions