Skip to content
Snippets Groups Projects
Select Git revision
  • 0004567095e81fd54d41b62c8c80a97d1ee61123
  • master default protected
  • fix/woo-stubs-dir
  • default-packages
  • use-internal-packages
  • update-setup
  • feature/wpdesk-cs
  • 2.5.3
  • 2.5.2
  • 2.5.1
  • 2.5.0
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3
  • 2.2.1
  • 2.2
  • 2.1
  • 2.0
  • 1.10.15
  • 1.10.12
  • 1.10.8
  • 1.10.7
  • 1.10.6
  • 1.10.5
  • 1.10.3
  • 1.10.2
27 results

webpack.mix.js

Blame
  • HttpClient.php 1.40 KiB
    <?php
    
    namespace WPDesk\HttpClient;
    
    
    interface HttpClient
    {
        /**
         * @param string $url
         * @param string $body
         * @param array $headers
         * @param int $timeOut
         * @throw HttpClientRequestException
         * @return HttpClientResponse
         */
        public function put($url, $body, array $headers, $timeOut);
    
        /**
         * @param string $url
         * @param string $body
         * @param array $headers
         * @param int $timeOut
         * @throw HttpClientRequestException
         * @return HttpClientResponse
         */
        public function get($url, $body, array $headers, $timeOut);
    
        /**
         * @param string $url
         * @param string $body
         * @param array $headers
         * @param int $timeOut
         * @throw HttpClientRequestException
         * @return HttpClientResponse
         */
        public function post($url, $body, array $headers, $timeOut);
    
        /**
         * @param string $url
         * @param string $body
         * @param array $headers
         * @param int $timeOut
         * @throw HttpClientRequestException
         * @return HttpClientResponse
         */
        public function delete($url, $body, array $headers, $timeOut);
    
        /**
         * @param string $url
         * @param string $method
         * @param string $body
         * @param array $headers
         * @param int $timeOut
         * @throw HttpClientRequestException
         * @return HttpClientResponse
         */
        public function send($url, $method, $body, array $headers, $timeOut);
    }