getProtocolVersion() public method

The string MUST contain only the HTTP version number (e.g., "1.1", "1.0").
public getProtocolVersion ( ) : string
return string HTTP protocol version.
Example #1
0
 /**
  * Test initial values of Response properties
  */
 public function testGetters()
 {
     $this->assertNotEmpty($this->response->getProtocolVersion());
     $this->assertNull($this->response->getReasonPhrase());
 }