function nodejs_get_client_socket_id in Node.js integration 6
Same name and namespace in other branches
- 8 nodejs.module \nodejs_get_client_socket_id()
- 7 nodejs.module \nodejs_get_client_socket_id()
Get the client socket id associated with this request.
2 calls to nodejs_get_client_socket_id()
File
- ./
nodejs.module, line 579
Code
function nodejs_get_client_socket_id() {
$client_socket_id = isset($_POST['nodejs_client_socket_id']) ? $_POST['nodejs_client_socket_id'] : '';
return preg_match('/^\\d+$/', $client_socket_id) ? $client_socket_id : '';
}