|
C++ Server-Side SDK
LaunchDarkly SDK
|
#include <hook.hpp>
Public Member Functions | |
| HookMetadata (std::string name) | |
| std::string_view | Name () const |
Metadata about a hook implementation.
Lifetime: Objects of this type are owned by the hook and remain valid for the lifetime of the hook.
|
explicit |
Constructs hook metadata.
| name | The name of the hook. |
| std::string_view launchdarkly::server_side::hooks::HookMetadata::Name | ( | ) | const |
Returns the name of the hook.
Lifetime: The returned string_view is valid only for the lifetime of this metadata object. If you need the name beyond the immediate call, copy it to a std::string.