| extends | MessageInterface | 
|---|
Representation of an outgoing, client-side request.
Per the HTTP specification, this interface includes properties for each of the following:
During construction, implementations MUST attempt to set the Host header from a provided URI if no Host header is provided.
Requests are considered immutable; all methods that might change state MUST be implemented such that they retain the internal state of the current message and return an instance that contains the changed state.
| Methods | ||
|---|---|---|
| 
					
	public
					
					
				 | getRequestTarget(): string | # | 
| 
					
	public
					
					
				 | withRequestTarget(string $requestTarget): static | # | 
| 
					
	public
					
					
				 | getMethod(): string | # | 
| 
					
	public
					
					
				 | withMethod(string $method): static | # | 
| 
					
	public
					
					
				 | getUri(): UriInterface | # | 
| 
					
	public
					
					
				 | withUri(UriInterface $uri, bool $preserveHost = false): static | # |