<?php
/**
 * General purpose and commonly used PHP interface definitions
 *
 * @author  Михаил Красильников <m.krasilnikov@yandex.ru>
 * @license http://opensource.org/licenses/MIT MIT
 */
namespace Mekras\Interfaces\Http\Message;

use Psr\Http\Message\RequestInterface;

/**
 * HTTP request factory
 *
 * Object can create empty instances of {@link \Psr\Http\Message\RequestInterface}.
 * This can be used to abstract from concrete PSR-7 implementation.
 *
 * @deprecated use https://packagist.org/packages/php-http/httplug
 *
 * @since 3.4 deprecated
 * @since 3.02
 */
interface RequestFactory
{
    /**
     * Create empty HTTP request
     *
     * @return RequestInterface
     *
     * @since 3.02
     */
    public function createEmptyRequest();
}
