Skip to content

@mega-yfue/eufy-sdk / tuya / SendOptions

Interface: SendOptions ​

Transport knobs for sendApiRequest.

Properties ​

endpoint? ​

ts
endpoint?: string;

http? ​

ts
http?: TuyaHttpPost;

Inject a POST transport (default: native fetch). Used to stub the network in tests.

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.