Skip to content

Support specifying extra options for the CurlClient #216

@aik099

Description

@aik099

Plan:

  1. add array $extra_options = array() to the CurlClient:__construct method
  2. in the CurlClient:__construct method store given $extra_options array into a new protected $extraOptions class property
  3. in the CurlClient::sendRequest method use curl_setopt function to set $this->extraOptions to the current cURL connection

Motivation

This should cover the following use cases (maybe some future cases also):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @aik099

        Issue actions

          Support specifying extra options for the `CurlClient` · Issue #216 · console-helpers/jira-api-restclient