PHP » GoLang |
login |
register |
about
|
GoLang Stomp::getReadTimeout
request it (557)
GoLang replacement for PHP's Stomp::getReadTimeout
[edit | history]
Stomp::getReadTimeoutstomp_get_read_timeout(PECL stomp >= 0.3.0) Stomp::getReadTimeout -- stomp_get_read_timeout — Gets read timeout DescriptionObject oriented style (method):
public array Stomp::getReadTimeout
( void
)
Procedural style:
array stomp_get_read_timeout
( resource
$link
)Gets read timeout Return ValuesReturns an array with 2 elements: sec and usec. Examples
Example #1 Object oriented style
<?phpThe above example will output something similar to:
array(2) {
["sec"]=>
int(2)
["usec"]=>
int(0)
}
Example #2 Procedural style
<?phpThe above example will output something similar to:
array(2) {
["sec"]=>
int(2)
["usec"]=>
int(0)
}
|
more
Most requested
|