PHP - Manual: gupnp_service_proxy_set_subscribed
2025-11-03
(PECL gupnp >= 0.1.0)
gupnp_service_proxy_set_subscribed — (Un)subscribes to the service
$proxy
, bool $subscribed
) : bool(Un)subscribes to the service.
proxyA service proxy identifier.
subscribed
Set TRUE to subscribe to this service.
成功时返回 TRUE, 或者在失败时返回 FALSE。
官方地址:https://www.php.net/manual/en/function.gupnp-service-proxy-set-subscribed.php