php curl long polling -
is long polling allowed on php curl? how can make long polling request? using ajax call php file makes call, want long polling there do?
$curl = curl_init(); curl_setopt_array($curl, array( curlopt_returntransfer => 1, curlopt_url => 'http://testcurl.com/?item1=value&item2=value2', curlopt_useragent => 'codular sample curl request' )); $resp = curl_exec($curl);
how can modify long polling? new appreciated
Comments
Post a Comment