class HttpExchange

internal  
 

Own the response independently of later connection negotiations.

Properties

Response|null $response
list<string> $queue
bool $closed
bool $streaming

Methods

__construct(int $generation, bool $initializing)

Capture the connection state used to send this exchange.

void
ensureOpen()

Reject output that arrived after the exchange was disconnected.

void
close()

Close the response and release retained data.

Details

at line 29
__construct(int $generation, bool $initializing)

Capture the connection state used to send this exchange.

Parameters

int $generation
bool $initializing

at line 38
void ensureOpen()

Reject output that arrived after the exchange was disconnected.

Return Value

void

at line 48
void close()

Close the response and release retained data.

Return Value

void