📂 File Browser

/AgentAI/vendor/psr/http-factory/src
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📄 Files

🐘 RequestFactoryInterface.php
▶ Open 📄 View Source
🐘 ResponseFactoryInterface.php
▶ Open 📄 View Source
🐘 ServerRequestFactoryInterface.php
▶ Open 📄 View Source
🐘 StreamFactoryInterface.php
▶ Open 📄 View Source
🐘 UploadedFileFactoryInterface.php
▶ Open 📄 View Source
🐘 UriFactoryInterface.php
▶ Open 📄 View Source

📄 Source: RequestFactoryInterface.php

<?php

namespace Psr\Http\Message;

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. If
     *     the value is a string, the factory MUST create a UriInterface
     *     instance based on it.
     *
     * @return RequestInterface
     */
    public function createRequest(string $method, $uri): RequestInterface;
}
← Back