Records Curler requests to an HTTP Archive (HAR) stream
Methods | ||
---|---|---|
public
|
__construct(Stringable|string|resource $resource, ?string $name = null, ?string $version = null)
|
# |
public
|
close(): void
|
# |
public
|
start(CurlRequestEventInterface|ResponseCacheHitEventInterface|null $event = null): void
|
# |
public
|
stop(): void
|
# |
protected
|
handleCurlRequest(CurlRequestEventInterface $event): void
|
# |
protected
|
handleCurlResponse(CurlResponseEventInterface $event): void
|
# |
protected
|
getCurlInfo(CurlHandle|resource $handle, int $option): mixed[]|int|float|string|null
|
# |
protected
|
handleResponseCacheHit(ResponseCacheHitEventInterface $event): void
|
# |
protected
|
writeEntry(array<string, mixed> $entry): void
|
# |
protected
|
assertIsValid(): void
|
# |
Properties | |||
---|---|---|---|
protected
|
resource|null
|
$Stream
|
# |
protected
|
bool
|
$IsCloseable
|
# |
protected
|
?string
|
$Uri
|
# |
protected
|
bool
|
$IsRecording = false
|
# |
protected
|
int[]
|
$ListenerIds
|
# |
protected
|
?RequestInterface
|
$LastRequest = null
|
# |
protected
|
float
|
$LastRequestTime
|
# |
protected
|
int
|
$EntryCount = 0
|
# |