|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include "a11/net/describe_endpoint.h"#include <memory>#include <optional>#include <string>#include <string_view>#include <utility>#include <absl/status/status.h>#include <absl/status/statusor.h>#include <absl/strings/match.h>#include "a11/concurrency/future.h"#include "a11/net/http2.h"#include "a11/status.h"Namespaces | |
| namespace | a11 |
| namespace | a11::net |
Functions | |
| std::string_view | a11::net::QueryOfPath (std::string_view path) |
The query part of path, without the ?. | |
| bool | a11::net::MatchDescribePath (std::string_view path, const DescribeEndpointOptions &options, std::string *absl_nonnull name) |
Whether path addresses the describe endpoint, and what it names. | |
| std::optional< a11::Task > | a11::net::TryDescribeOverHttp (const DescribeEndpointOptions &options, const HttpRequest &request, const std::shared_ptr< Http2ResponseWriter > &response, HttpHeaders extra_headers={}) |
Answers request from options, if it is addressed to it. | |