atscppapi
1.0.9
C++ wrapper for Apache Traffic Server API
|
ContextValues are a mechanism to share data between plugins using the atscppapi. More...
#include "Transaction.h"
ContextValues are a mechanism to share data between plugins using the atscppapi.
Any data can be shared so long as it extends ContextValue, a simple example might be:
Because getContextValue() and setContextValue() take shared pointers you dont have to worry about the cleanup as that will happen automatically so long as you dont have shared_ptrs that cannot go out of scope.