Class RequestFactory
Factory for creating request instances.
        
    Namespace: Cake\Http
    
    
    
      
  
  
        Method Summary
- 
          createRequest() publicCreate a new request. 
Method Detail
createRequest() ΒΆ public
createRequest(string $method, UriInterface|string $uri): Psr\Http\Message\RequestInterfaceCreate 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