Adds an HTTP hook.
INKReturnCode INKHttpHookAdd (INKHttpHookId
id
, INKCont
contp
)
Adds
to
the end of the list of global HTTP hooks specified by
contp
. Since
id
INKHttpHookAdd
adds
to a global list,
this function is only safe to call from the plugin
initialization routine.contp
INK_SUCCESS
if the hook is successfully
added.
INK_ERROR
if the hook is not added.