Skip to main content

Set Up Search Notifications

Last updated on

Set up a function to send a match search notification to the player via WebSockets. Players will receive this notification while waiting for a match.

# 14. Send search for match notification to user
error = send_notif_match_searching(namespace, user_id)
if error:
return error
log_done(f"send free form notification (match searching) to player ({user_id})")