Skip to main content

Module router

Module router 

Source
Expand description

Event routing for HTTP callback notifications.

This module provides the EventRouter which maintains a set of active subscription IDs and routes incoming UPnP event notifications to a channel. Events for not-yet-registered SIDs are buffered and replayed when registration completes, preventing the race between SUBSCRIBE response and initial NOTIFY delivery.

Structsยง

EventRouter
Routes events from HTTP callbacks to a channel.
NotificationPayload
Generic notification payload for UPnP event notifications.