|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Where and whether a server answers discovery over plain HTTP. More...
#include <cpp/a11/net/describe_endpoint.h>
Public Member Functions | |
| bool | Enabled () const |
| Whether this server should answer discovery at all. | |
Public Attributes | |
| DescribeActionsHandler | handler {} |
| std::string | path = std::string(kDefaultDescribeEndpoint) |
Where and whether a server answers discovery over plain HTTP.
An empty handler leaves the endpoint unserved, and the server's existing 404 stands. That is the default: a transport does not describe anything until something above it says what to describe.
|
inline |
Whether this server should answer discovery at all.
| DescribeActionsHandler a11::net::DescribeEndpointOptions::handler {} |
| std::string a11::net::DescribeEndpointOptions::path = std::string(kDefaultDescribeEndpoint) |