Http.php 260 B

12345678910
  1. <?php
  2. class Task_Runner_Remote_Connector_Http extends Task_Runner_Remote_Connector {
  3. protected function doRequest($url, $data, $timeoutMs) {
  4. $curl = DI()->get('curl', 'PhalApi_CUrl');
  5. return $curl->post($url, $data, $timeoutMs);
  6. }
  7. }