src/app/n2n/web/http/Response.php
public function serverPush(ServerPushDirective $directive) {
		if ($this->request->getProtocolVersion()->getMajorNum() < 2) {
			return;
		}
		
		$this->setHeader($directive->toHeader());
	}
public function serverPush(ServerPushDirective $directive) {
		if ($this->request->getProtocolVersion()->getMajorNum() < 2) {
			return;
		}
		
		$this->setHeader($directive->toHeader());
	}
public function serverPush ( ServerPushDirective $ directive ) { if ( $ this -> request -> getProtocolVersion ( ) -> getMajorNum ( ) < 2 ) { return ; } $ this -> setHeader ( $ directive -> toHeader ( ) ) ; }
Server push will be ignored if HTTP version of request is lower than 2 or if sever push is disabled in app.ini

@param ServerPushDirective $directive
Server push will be ignored if HTTP version of request is lower than 2 or if sever push is disabled in app . ini