Skip to content

Document request timeouts — default client has none #2

Description

@onetechgroupll

From the SDK review 2026-09-15.

Evidence: each API class builds new Client() with no options (lib/Api/AccountApi.php:94), so Guzzle waits indefinitely on a hanging server. The fix is one constructor argument — it just needs documenting.

Fix: add a timeout example to the README (new Client(['timeout' => 10]) passed into the API class) plus one sentence discouraging production use without it. (Same gap in the Go/Python/JS SDKs, with issues there.)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions