get client type