GrpcServerStream
struct GrpcServerStreamA live server-streaming RPC: pull reply messages one at a time.
Returned by :meth:flare.grpc.GrpcClient.call_server_streaming.
Call :meth:recv until it returns None (end of stream), then
:meth:status for the final grpc-status.
Implements Movable
__init__
def __init__(out self, var t: _H2Transport, var conn: Http2ClientConnection, sid: Int) recv
def recv(mut self) -> Optional[List[UInt8]] Return the next reply message payload, or None once the server has ended the stream and no full frame remains.
Raises NetworkError: if the peer resets the stream or closes the connection mid-message.
status
def status(mut self) -> GrpcStatus Return the final RPC status (grpc-status / grpc-message trailer). Call after :meth:recv has returned None. Discards the stream's per-connection state.
close
def close(mut self) Release the underlying connection (closes the socket).