GrpcHttpResponse
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
at line 45
array
trailerNames()
Get the trailer names known before response emission.
at line 53
array
trailers()
Get the final response trailers.
at line 63
bool
protocolStateIsIntact()
| internal |
Determine whether middleware preserved the protocol-owned response state.