Skip to content

basic_router needs improved documentation #108

@vinniefalco

Description

@vinniefalco

basic_router attempts to emulate the Express JS router, while translating its behaviors into idiomatic C++. for example, in the C++ model the response object is fully set up and returned to the framework for sending, unlike Express where res.send() actually sends the body using Node's cooperative I/O model. Greatly expand and elaborate the documentation in include/boost/beast2/server/basic_router.hpp by inspecting the headers and sources to deeply understand how the class works. Use Express JS router as a guide but verify any claims. Use examples liberally.

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