public function publish($channel, $item)
    {
        $export = $item->export();
        $export['channel'] = $channel;
        $uri = null;
        $auth = null;
        $uri = $this->uri;
        $auth = $this->pcc_utilities->gen_auth_header($this->auth_jwt_claim,
                $this->auth_jwt_key, $this->auth_basic_user,
                $this->auth_basic_pass);
        $this->pcc_utilities->pubcall($uri, $auth, array($export));
    }
public function publish($channel, $item)
    {
        $export = $item->export();
        $export['channel'] = $channel;
        $uri = null;
        $auth = null;
        $uri = $this->uri;
        $auth = $this->pcc_utilities->gen_auth_header($this->auth_jwt_claim,
                $this->auth_jwt_key, $this->auth_basic_user,
                $this->auth_basic_pass);
        $this->pcc_utilities->pubcall($uri, $auth, array($export));
    }
public function publish ( $ channel , $ item ) { $ export = $ item -> export ( ) ; $ export [ 'channel' ] = $ channel ; $ uri = null ; $ auth = null ; $ uri = $ this -> uri ; $ auth = $ this -> pcc_utilities -> gen_auth_header ( $ this -> auth_jwt_claim , $ this -> auth_jwt_key , $ this -> auth_basic_user , $ this -> auth_basic_pass ) ; $ this -> pcc_utilities -> pubcall ( $ uri , $ auth , array ( $ export ) ) ; }
specified channel on the configured endpoint.
specified channel on the configured endpoint .