Private
clientReadonly
methods: { Readonly
doDoCommand sends/receives arbitrary commands
from rpc viam.component.switch.v1.SwitchService.DoCommand
Readonly
I: typeof DoCommandRequestReadonly
O: typeof DoCommandResponseReadonly
kind: UnaryReadonly
name: "DoCommand"Readonly
getGet the number of positions that the switch supports
from rpc viam.component.switch.v1.SwitchService.GetNumberOfPositions
Readonly
I: typeof GetNumberOfPositionsRequestReadonly
O: typeof GetNumberOfPositionsResponseReadonly
kind: UnaryReadonly
name: "GetNumberOfPositions"Readonly
getGet the position of the switch
from rpc viam.component.switch.v1.SwitchService.GetPosition
Readonly
I: typeof switchApi.GetPositionRequestReadonly
O: typeof switchApi.GetPositionResponseReadonly
kind: UnaryReadonly
name: "GetPosition"Readonly
setSet the position of the switch
from rpc viam.component.switch.v1.SwitchService.SetPosition
Readonly
I: typeof SetPositionRequestReadonly
O: typeof SetPositionResponseReadonly
kind: UnaryReadonly
name: "SetPosition"Readonly
typePrivate
Readonly
namePrivate
Readonly
options
A gRPC-web client for the Switch component.