createRequest method
Creates a message object that can deserialize a request.
Implementation
$pb.GeneratedMessage createRequest($core.String methodName) {
switch (methodName) {
case 'updatePermission':
return $11.UpdatePermissionRequest();
case 'getPeerData':
return $11.GetPeerDataRequest();
case 'sendData':
return $11.SendDataRequest();
case 'sendRecorderMsg':
return $11.RecorderMsgRequest();
case 'registerRecorder':
return $11.RegisterRecorderRequest();
case 'getSessionId':
return $11.GetSessionIdRequest();
default:
throw $core.ArgumentError('Unknown method: $methodName');
}
}