HttpPoolTransport
class HttpPoolTransport implements TransportInterface
Constants
| DELIVERY_CONTEXT_KEY |
|
Properties
| protected WaitGroup | $group |
Methods
Result
send(Event $event)
Send an event to Sentry via a pooled transport.
Result
close(int|null $timeout = null)
Observe or wait for accepted sends to complete.
void
shutdown()
Close the underlying transport pool.
void
createCoroutine(callable $callback, Closure $wrapper)
Create the coroutine that owns a checked-out transport.
Details
at line 33
__construct(HttpTransportPool $pool)
Create a transport that sends events through an owned pool.
at line 43
Result
send(Event $event)
Send an event to Sentry via a pooled transport.
Skip the event when pool acquisition times out or the pool is closed.
at line 108
Result
close(int|null $timeout = null)
Observe or wait for accepted sends to complete.
at line 127
void
shutdown()
Close the underlying transport pool.
at line 137
protected void
createCoroutine(callable $callback, Closure $wrapper)
Create the coroutine that owns a checked-out transport.