MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / binary_response

Function binary_response

tests/resources/lambda_function.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24invocation_response binary_response(invocation_request const& /*request*/)
25{
26 std::string png((char*)awslogo_png, AWSLOGO_PNG_LEN);
27 return invocation_response::success(std::move(png), "image/png");
28}
29
30invocation_response crash_backtrace(invocation_request const& /*request*/)
31{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected