create constant

Spec<CreateRequest, CreateResponse> const create

Create registers a new device in the system. Returns a unique device ID that should be stored by the client.

Implementation

static const create = connect.Spec(
  '/$name/Create',
  connect.StreamType.unary,
  devicev1device.CreateRequest.new,
  devicev1device.CreateResponse.new,
);