You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- coroutines=true: Uses Swoole\Coroutine\Http\Client (default)
- coroutines=false: Uses Swoole\Http\Client (sync/blocking)
Updated type hints to support both client types via union types.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* @param bool $coroutines If true, automatically wraps requests in a coroutine scheduler when not already in a coroutine context. Set to false when running inside a Swoole server.
41
+
* @param bool $coroutines If true, uses Swoole\Coroutine\Http\Client. If false, uses Swoole\Http\Client (sync/blocking).
42
42
* @param bool $keepAlive Enable HTTP keep-alive for connection reuse
43
43
* @param int $socketBufferSize Socket buffer size in bytes
0 commit comments