Skip to content

send_text()

send_text() is a macro for sending text/plain responses easily. It runs reply() function under the hood.

#include "ecewo.h"
void hello_world(Req *req, Res *res)
{
send_text(200, "hello world!");
}