1. Wash the broccoli, cut off the stem, and separate the florets. Cook them for 5 minutes in a pot of salted boiling water, then drain.
2. Clean the mushrooms and finely slice them. Peel and finely slice the shallots.
3. Sauté the shallots in a pan with a little bit of butter until they turn golden brown. Remove them from the pan and set aside.
4. In the same pan, add some butter and sauté the mushrooms until they are browned. Remove them from the pan and set aside.
5. Add a little more butter to the pan. Sauté the shrimp for 1 minute while stirring.
6. Add the mushrooms and shallots back to the pan. Season with salt, pepper, and curry.
7. Add the heavy cream and the broccoli florets. Mix well, then let it simmer over low heat for 3 minutes.
8. Cook the spaghetti in a pot of salted boiling water according to the package instructions. Drain them and add them to the pan.
9. Mix for 1 minute and serve immediately.