# loginizer/2.0.0/lib/hybridauth/HttpClient/HttpClientInterface.php

Loginizer, version 2.0.0. 59 lines.

- Page: https://pluginprobe.com/plugins/loginizer/2.0.0/code/lib/hybridauth/HttpClient/HttpClientInterface.php
- Raw: https://pluginprobe.com/plugins/loginizer/2.0.0/raw/lib/hybridauth/HttpClient/HttpClientInterface.php
- Modified: 2024-06-27T14:05:26+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/loginizer/2.0.0/code/lib/hybridauth/HttpClient/HttpClientInterface.php#L10-L20`.

```php
<?php
/*!
* Hybridauth
* https://hybridauth.github.io | https://github.com/hybridauth/hybridauth
*  (c) 2017 Hybridauth authors | https://hybridauth.github.io/license.html
*/

namespace Hybridauth\HttpClient;

/**
 * Hybridauth Http clients interface
 */
interface HttpClientInterface
{
    /**
     * Send request to the remote server
     *
     * Returns the result (Raw response from the server) on success, FALSE on failure
     *
     * @param string $uri
     * @param string $method
     * @param array $parameters
     * @param array $headers
     * @param bool $multipart
     *
     * @return mixed
     */
    public function request($uri, $method = 'GET', $parameters = [], $headers = [], $multipart = false);

    /**
     * Returns raw response from the server on success, FALSE on failure
     *
     * @return mixed
     */
    public function getResponseBody();

    /**
     * Retriever the headers returned in the response
     *
     * @return array
     */
    public function getResponseHeader();

    /**
     * Returns latest request HTTP status code
     *
     * @return int
     */
    public function getResponseHttpCode();

    /**
     * Returns latest error encountered by the client
     * This can be either a code or error message
     *
     * @return mixed
     */
    public function getResponseClientError();
}

```
