public function request(
        $method,
        $url,
        array $params = [],
        $outFile = '',
        $returnBool = \false,
        $arrayKey = '',
        $verifyPeer = \true
    ) {

        list($url, $contextOptions) = $this->configureRequestOptions($url, $method, $params, $verifyPeer);
        $fp = @fopen($url, 'rb', \false, stream_context_create($contextOptions));
        $headers = stream_get_meta_data($fp)['wrapper_data'];

        return $this->handleRequest($fp, $headers, $outFile, $returnBool, $arrayKey);
    }