apiplug::invokeComplete() and httpplug::invokeComplete() need to have compatible signature