PHP - Manual: gupnp_context_set_subscription_timeout
2024-12-23
(PECL gupnp >= 0.1.0)
gupnp_context_set_subscription_timeout — Sets the event subscription timeout
$context
, int $timeout
) : voidSets the event subscription timeout (in seconds) to time out. Note that any client side subscriptions will automatically be renewed.
context
A context identifier, returned by gupnp_context_new().
timeout
The event subscription timeout in seconds. Use 0 if you don't want subscriptions to time out.
没有返回值。
官方地址:https://www.php.net/manual/en/function.gupnp-context-set-subscription-timeout.php