PSR-17-http-factory
1. 명세서
2. Interfaces
2.1 RequestFactoryInterface
namespace Psr\Http\Message;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\UriInterface;
interface RequestFactoryInterface
{
/**
* Create a new request.
*
* @param string $method The HTTP method associated with the request.
* @param UriInterface|string $uri The URI associated with the request.
*/
public function createRequest(string $method, $uri): RequestInterface;
}2.2 ResponseFactoryInterface
2.3 ServerRequestFactoryInterface
2.4 StreamFactoryInterface
2.5 UploadedFileFactoryInterface
2.6 UriFactoryInterface
Last updated