drupal_http_request_timer

Categories

Component ID

1977674

Component name

drupal_http_request_timer

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This overrides drupal_http_request from core with a slightly modified version that returns the duration of the request in its return object.

Uses Drupal 7.22's new feature to override the drupal_http_request function.

(This module won't do anything impressive so you will never find a good reason to use this module. I needed to did this one for some experiments and pushing to GIT anyway hoping someone would find this useful - highly unlikely)