toResponse method

ClientMessage toResponse()

Converts the context to a gRPC client response.

Implementation

$ep.ClientMessage toResponse() {
  return $ep.ClientMessage(id: id, messageResponse: res.toWire());
}