send_request [auto]
request accepted
send_message
recv_message
Now you have to end stream from the client-side, and you can do this in two ways:
send_message(message, end=True) - last
DATA frame will contain
END_STREAM flag
end() - one extra frame will be sent, as
shown below. It is better to
avoid this way if possible.
end (optional, read note above)
send_initial_metadata [auto] You can
send initial metadata
even before receiving messages from the client. RPC success
or failure in gRPC
protocol is indicated in trailers.
recv_initial_metadata [auto]
send_message
recv_message
send_trailing_metadata [auto]
recv_trailing_metadata [auto]