src/danog/MadelineProto/Stream/MTProtoTransport/HttpStream.php
public function setExtra($extra)
    {
        if (isset($extra['user']) && isset($extra['password'])) {
            $this->header = \base64_encode($extra['user'].':'.$extra['password'])."\r\n";
        }
    }
public function setExtra($extra)
    {
        if (isset($extra['user']) && isset($extra['password'])) {
            $this->header = \base64_encode($extra['user'].':'.$extra['password'])."\r\n";
        }
    }
public function setExtra ( $ extra ) { if ( isset ( $ extra [ 'user' ] ) && isset ( $ extra [ 'password' ] ) ) { $ this -> header = \ base64_encode ( $ extra [ 'user' ] . ':' . $ extra [ 'password' ] ) . "\r\n" ; } }
Set proxy data.

@param array $extra Proxy parameters

@return void
Set proxy data .