GoLang EventHttp::setTimeout

request it (79)
GoLang replacement for PHP's EventHttp::setTimeout [edit | history]



Do you know a GoLang replacement for PHP's EventHttp::setTimeout? Write it!

PHP EventHttp::setTimeout

PHP original manual for EventHttp::setTimeout [ show | php.net ]

EventHttp::setTimeout

(PECL event >= 1.4.0-beta)

EventHttp::setTimeoutSets the timeout for an HTTP request

Description

public void EventHttp::setTimeout ( int $value )

Sets the timeout for an HTTP request.

Parameters

value

The timeout in seconds.

Return Values

No value is returned.