Skip to content

Message: getProtocolVersion Example

Terry L edited this page Jun 20, 2020 · 5 revisions

namespace Shieldon\Psr7\Message

getProtocolVersion()

  • return string HTTP protocol version.

Example:

echo $message->getProtocolVersion();
// Outputs: 1.1
Clone this wiki locally