|
aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <BddEngine.h>
Public Member Functions | |
| BddEngine (const ByteCursor &bytecodeCursor, const ByteCursor &partitionsCursor, Allocator *allocator=ApiAllocator()) noexcept | |
| ~BddEngine ()=default | |
| BddEngine (const BddEngine &)=delete | |
| BddEngine & | operator= (const BddEngine &)=delete |
| BddEngine (BddEngine &&)=delete | |
| BddEngine & | operator= (BddEngine &&)=delete |
| operator bool () const noexcept | |
| Optional< ResolutionOutcome > | Resolve (const RequestContext &context) const |
Endpoints BDD Engine.
Resolves endpoints from compiled bytecode rather than a JSON ruleset. The caller is responsible for keeping the bytecode buffer alive for the lifetime of this engine.
RequestContext and ResolutionOutcome are shared with RuleEngine and are used identically.
|
noexcept |
Construct from a bytecode cursor and partitions JSON. The caller is responsible for keeping the bytecode buffer alive for the lifetime of this engine.
|
default |
|
delete |
|
inlinenoexcept |
| Optional< ResolutionOutcome > Aws::Crt::Endpoints::BddEngine::Resolve | ( | const RequestContext & | context | ) | const |
Resolve an endpoint from the provided request context. Returns None on failure; use Aws::Crt::LastError() to retrieve the error code.