private function getDefaultSettings(RequestContext $context): array
    {
        $defaults = [
            CURLOPT_ENCODING => "",
            CURLOPT_USERAGENT => "php-nano-rest",
            CURLOPT_HEADER => true,
            CURLOPT_HTTPHEADER => array_values($context->getRequestHeaders()),
            CURLOPT_RETURNTRANSFER => true,
        ];

        return $defaults;
    }
private function getDefaultSettings(RequestContext $context): array
    {
        $defaults = [
            CURLOPT_ENCODING => "",
            CURLOPT_USERAGENT => "php-nano-rest",
            CURLOPT_HEADER => true,
            CURLOPT_HTTPHEADER => array_values($context->getRequestHeaders()),
            CURLOPT_RETURNTRANSFER => true,
        ];

        return $defaults;
    }
private function getDefaultSettings ( RequestContext $ context ) : array { $ defaults = [ CURLOPT_ENCODING => "" , CURLOPT_USERAGENT => "php-nano-rest" , CURLOPT_HEADER => true , CURLOPT_HTTPHEADER => array_values ( $ context -> getRequestHeaders ( ) ) , CURLOPT_RETURNTRANSFER => true , ] ; return $ defaults ; }
Get defaults settings for cURL handle

@param RequestContext $context
@return array
Get defaults settings for cURL handle