Fastly Compute C++ SDK
Loading...
Searching...
No Matches
config_store.cpp
#include "fastly/sdk.h"
int main() {
auto store = fastly::ConfigStore::open("example-store");
fastly::Response::from_body(store->get("hello")->value()).send_to_client();
}
int main()
Definition async_reqs.cpp:10
static fastly::expected< ConfigStore > open(std::string_view name)
static Response from_body(Body body)
Create a new Response with the given value as the body.
void init_simple(Endpoint endpoint, LogLevelFilter level)