Server implementation of HAPI