class GrpcHttpResponse extends Response implements HasTrailers

internal  
 

Carry a complete protocol-owned gRPC response to the HTTP/2 bridge.

Methods

__construct(string $content, array $headers, array $trailerNames, array $trailers)

No description

array
trailerNames()

Get the trailer names known before response emission.

array
trailers()

Get the final response trailers.

bool
protocolStateIsIntact()

Determine whether middleware preserved the protocol-owned response state.

Details

at line 27
__construct(string $content, array $headers, array $trailerNames, array $trailers)

No description

Parameters

string $content
array $headers
array $trailerNames
array $trailers

at line 45
array trailerNames()

Get the trailer names known before response emission.

Return Value

array

at line 53
array trailers()

Get the final response trailers.

Return Value

array

at line 63
bool protocolStateIsIntact()

internal  
 

Determine whether middleware preserved the protocol-owned response state.

Return Value

bool