public function MessageInterface::getProtocolVersion in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/psr/http-message/src/MessageInterface.php \Psr\Http\Message\MessageInterface::getProtocolVersion()
Retrieves the HTTP protocol version as a string.
The string MUST contain only the HTTP version number (e.g., "1.1", "1.0").
Return value
string HTTP protocol version.
1 method overrides MessageInterface::getProtocolVersion()
- Message::getProtocolVersion in vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ Message.php - Retrieves the HTTP protocol version as a string.
File
- vendor/
psr/ http-message/ src/ MessageInterface.php, line 26
Class
- MessageInterface
- HTTP messages consist of requests from a client to a server and responses from a server to a client. This interface defines the methods common to each.
Namespace
Psr\Http\MessageCode
public function getProtocolVersion();