You are here

function httprl_drupal_get_private_key in HTTP Parallel Request & Threading Library 7

Same name and namespace in other branches
  1. 6 httprl.module \httprl_drupal_get_private_key()

Gets the private key variable.

Return value

string The private key.

3 calls to httprl_drupal_get_private_key()
httprl_async_page in ./httprl.async.inc
Menu Callback; run given function.
httprl_install_http_test in ./httprl.install
Issue a HTTP request to admin/httprl-test, verifying that the server got it.
httprl_queue_background_callback in ./httprl.module
Run callback in the background.

File

./httprl.module, line 3320
HTTP Parallel Request Library module.

Code

function httprl_drupal_get_private_key() {
  $full_bootstrap = httprl_drupal_full_bootstrap();
  $private_key = $full_bootstrap ? drupal_get_private_key() : httprl_variable_get('drupal_private_key', 0);
  return $private_key;
}