|
C++ Server-Side SDK
LaunchDarkly SDK
|
Hook structure containing callback function pointers. More...
#include <hook.h>
Public Attributes | |
| char const * | Name |
| LDServerSDKHook_BeforeEvaluation | BeforeEvaluation |
| LDServerSDKHook_AfterEvaluation | AfterEvaluation |
| LDServerSDKHook_AfterTrack | AfterTrack |
| void * | UserData |
Hook structure containing callback function pointers.
USAGE:
EXAMPLE:
LIFETIME:
| LDServerSDKHook_AfterEvaluation LDServerSDKHook::AfterEvaluation |
Optional callback invoked after evaluations. Set to NULL if not needed.
| LDServerSDKHook_AfterTrack LDServerSDKHook::AfterTrack |
Optional callback invoked after track calls. Set to NULL if not needed.
| LDServerSDKHook_BeforeEvaluation LDServerSDKHook::BeforeEvaluation |
Optional callback invoked before evaluations. Set to NULL if not needed.
| char const* LDServerSDKHook::Name |
Name of the hook. Required. Must be a null-terminated UTF-8 string. Must remain valid until LDServerConfigBuilder_Build() is called.
| void* LDServerSDKHook::UserData |
Application-specific context pointer passed to all callbacks. Must remain valid for the entire SDK client lifetime. May be NULL if not needed.