omise / omise-php

Omise PHP library
https://docs.opn.ooo
MIT License
67 stars 41 forks source link

[Question] How to pass custom CURLOPT option #136

Closed dev-hyperweb closed 1 year ago

dev-hyperweb commented 2 years ago

I need to pass some option to use for make it more secure and fastest. Example: CURLOPT_INTERFACE

How to pass something like this into curl object ?

aashishgurung commented 1 year ago

Thank you for reaching out. Is this still relevant? Can you please provide more details on what you are trying to achieve?

dev-hyperweb commented 1 year ago

I'm not using omise anymore, but I will explain what I want to do.

example: I want to add some curl option like this

curl_setopt($ch, CURLOPT_INTERFACE, "XXX.XXX.XXX.XXX"); to use my second IPs.