src/Contracts/Driver.php
/**
     * cat an IPFS Object.
     * @return object Guzzle Response.
     */
cat an IPFS Object.
@return object Guzzle Response.
cat an IPFS Object . @return object Guzzle Response .
public static function cat($hash)
    {
        $api = [
        'path'    => 'http://localhost:8080/ipfs/'.$hash,
        'method'  => 'GET',
        'query'   => null,
        'file'    => null
        ];
        $cmd = null;
        $response = (new self())->handleCall($api, $cmd);
        return $response;
    }
public static function cat ( $ hash ) { $ api = [ 'path' => 'http://localhost:8080/ipfs/' . $ hash , 'method' => 'GET' , 'query' => null , 'file' => null ] ; $ cmd = null ; $ response = ( new self ( ) ) -> handleCall ( $ api , $ cmd ) ; return $ response ; }
cat an IPFS Object.
cat an IPFS Object .