HttpPoolTransport
class HttpPoolTransport implements TransportInterface
Constants
| DELIVERY_CONTEXT_KEY |
|
Properties
| protected WaitGroup | $group |
Methods
__construct(HttpTransportPool $pool, Options $options)
Create a transport that sends events through an owned pool.
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, Options $options)
Create a transport that sends events through an owned pool.
at line 45
Result
send(Event $event)
Send an event to Sentry via a pooled transport.
Skip the event when there is nowhere to send it, pool acquisition times out, or the pool is closed.
at line 116
Result
close(int|null $timeout = null)
Observe or wait for accepted sends to complete.
at line 135
void
shutdown()
Close the underlying transport pool.
at line 145
protected void
createCoroutine(callable $callback, Closure $wrapper)
Create the coroutine that owns a checked-out transport.