GoLang gupnp_context_set_subscription_timeout

request it (310)
GoLang replacement for PHP's gupnp_context_set_subscription_timeout [edit | history]



Do you know a GoLang replacement for PHP's gupnp_context_set_subscription_timeout? Write it!

PHP gupnp_context_set_subscription_timeout

PHP original manual for gupnp_context_set_subscription_timeout [ show | php.net ]

gupnp_context_set_subscription_timeout

(PECL gupnp >= 0.1.0)

gupnp_context_set_subscription_timeoutSets the event subscription timeout

Description

void gupnp_context_set_subscription_timeout ( resource $context , int $timeout )

Sets the event subscription timeout (in seconds) to time out. Note that any client side subscriptions will automatically be renewed.

Parameters

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.

Return Values

No value is returned.

See Also