gupnp_context_set_subscription_timeout

(PECL gupnp >= 0.1.0)

gupnp_context_set_subscription_timeoutSets the event subscription timeout

说明

gupnp_context_set_subscription_timeout ( resource $context , int $timeout ) : void

Sets 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.

返回值

没有返回值。

参见

关注编程学问公众号