Skip to content

Allow passing custom/override curl options in Embedly constructor#28

Open
quentin-st wants to merge 1 commit intoembedly:masterfrom
quentin-st:feature-custom-curl-opts
Open

Allow passing custom/override curl options in Embedly constructor#28
quentin-st wants to merge 1 commit intoembedly:masterfrom
quentin-st:feature-custom-curl-opts

Conversation

@quentin-st
Copy link

Example usage:

$embedly = new Embedly([
    'curl_opts' => [
        // use more strict timeouts
        CURLOPT_CONNECTTIMEOUT => 5,
        CURLOPT_TIMEOUT => 10,
    ]
]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant