A slang that is used as a form of saying "good night", in a sense of expressing hope that one's wellbeing will remain well-rested by having a pleasant dream.
Person A: "I'm going to go head to sleep now."
Person B: "Okay then, happy dreaming."
Person A: "Thanks, you too :)"