Skip to content

Suggested redesign #4

@jcham

Description

@jcham

Per our discussion yesterday, a suggested redesign of the middleware interface is for it to be something like (sorry if I don't know the proper format for specifying these things):

cancelf = app.call(request_env) { |response_hash, response_error|
   ...
}
# where `cancelf` is a method that can be called to cancel the request down the stack.

photo 1
photo 2
photo 4

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