<?php

class PestHttpClient extends HttpClientBase
{
    /**
     * @var Pest
     */
    private $pest;

    /**
     * PestHttpClient constructor.
     * @param $baseURL
     */
    public function __construct($baseURL)
    {
        parent::__construct($baseURL);
        $this->pest = new Pest($baseURL);
    }

    /**
     * @param $url
     * @param $data
     * @param array $headers
     * @return mixed|string
     */
    public function post($url, $data, $headers = [])
    {
        return $this->pest->post($url, $data, $headers);
    }

    /**
     * @param $url
     * @param $data
     * @param array $headers
     */
    public function get($url, $data, $headers = [])
    {
        // TODO: Implement get() method.
    }

    /**
     * @param $url
     * @param $data
     * @param array $headers
     */
    public function put($url, $data, $headers = [])
    {
        // TODO: Implement put() method.
    }

    /**
     * @param $url
     * @param $data
     * @param array $headers
     */
    public function delete($url, $data, $headers = [])
    {
        // TODO: Implement delete() method.
    }


}
