Fastly Compute C++ SDK
Loading...
Searching...
No Matches
echo.cpp
#include "fastly/sdk.h"
#include <iostream>
int main() {
auto body{req.into_body()};
body << " What's up?"; // You can append to it with `<<`.
fastly::log::info("Sending the response...");
}
int main()
Definition async_reqs.cpp:10
static Request from_client()
static Response from_body(Body body)
Create a new Response with the given value as the body.
void init_simple(Endpoint endpoint, LogLevelFilter level)
void info(std::format_string< Args... > fmt, Args &&...args)
Definition log.h:294