Skip to content

Request/response handling is very hard to find. #311

Open
@buffpojken

Description

Is your feature request related to a problem? Please describe.
Coming back to Arc from a few major versions back, I found it very hard to find how http function handling had changed, and how it currently works, given the major changes in request/response-handling. Finding it today requires reading through the entire Runtime-section, and it's mentioned under middleware.

It's not clear if the changed to the incoming request object is a feature of Arc or if it requires the middleware, since it's documented under the middleware.

Describe the solution you'd like
I'd argue that how the http functions work is at the core of Arc, and that it should be moved to its own section, probably under each runtime as it's runtime-specific.

Describe alternatives you've considered
It could be moved to a complete new section under Reference with runtime-specific sections as well, which would increase visibility and make it a lot easier to find at the cost of muddying up the information hierarchy under Reference.

Perhaps a new section similar to the old Guides from the docs for v5 (https://v5.arc.codes/guides/http) which was both extremely clear and easy to find.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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