PHP » GoLang |
login |
register |
about
|
GoLang EventHttp::setCallback
request it (352)
GoLang replacement for PHP's EventHttp::setCallback
[edit | history]
EventHttp::setCallback(PECL event >= 1.4.0-beta) EventHttp::setCallback — Sets a callback for specified URI Description
public
void
EventHttp::setCallback
(
string
$path
,
string
$cb
[,
string
$arg
] )Sets a callback for specified URI. Parameters
Return Values
Returns ExamplesExample #1 EventHttp::setCallback() example
<?php The above example will output something similar to: a=12 HTTP/1.0 200 OK Content-Type: text/html; charset=ISO-8859-1 Connection: close See Also
|
more
Recently updated
more
Most requested
more
Last requests
|