Skip to content

response.set_body() no longer exists #281

Description

@R-Goc

In a large number of places in the documentation response.set_body() is used. Mainly in the router. For example:

router<route_params> r;
r.get( "/hello",
    []( route_params& p )
    {
        p.res.status( status::ok );
        p.res.set_body( "Hello, world!" );
        return route_done;
    } );

This method no longer exists.

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