public function constructProxyHeader() {
        return implode($this->version == 1 ? "\x20" : "", array_filter([
            $this->getSignature(),
            $this->getVersionCommand(),
            $this->getProtocol(),
            $this->getAddressLength(),
            $this->getAddresses(),
            $this->getPorts(),
            $this->version == 1 ? "\r\n" : null
        ]));
    }
public function constructProxyHeader() {
        return implode($this->version == 1 ? "\x20" : "", array_filter([
            $this->getSignature(),
            $this->getVersionCommand(),
            $this->getProtocol(),
            $this->getAddressLength(),
            $this->getAddresses(),
            $this->getPorts(),
            $this->version == 1 ? "\r\n" : null
        ]));
    }
public function constructProxyHeader ( ) { return implode ( $ this -> version == 1 ? "\x20" : "" , array_filter ( [ $ this -> getSignature ( ) , $ this -> getVersionCommand ( ) , $ this -> getProtocol ( ) , $ this -> getAddressLength ( ) , $ this -> getAddresses ( ) , $ this -> getPorts ( ) , $ this -> version == 1 ? "\r\n" : null ] ) ) ; }
Constructs the header by concatenating all relevant fields.
@return string
Constructs the header by concatenating all relevant fields .