Class RequestFactory
Factory for creating request instances.
        
    Namespace: Cake\Http
    
    
    
      
  
  
        Method Summary
- 
          
createRequest() public
Create a new request.
 
Method Detail
createRequest() ΒΆ public
createRequest(string $method, UriInterface|string $uri): Psr\Http\Message\RequestInterface
      Create a new request.
Parameters
- 
                
string$method The HTTP method associated with the request.
- 
                
UriInterface|string$uri The URI associated with the request.
Returns
Psr\Http\Message\RequestInterface