toResponse method

ClientMessage toResponse()

Converts the context to a gRPC client response.

Implementation

$jp.ClientMessage toResponse() {
  return $jp.ClientMessage(id: id, jobResponse: res.toWire());
}