Beispiel #1
0
 public Task <bool> AddDeviceAsync(
     NotificationDevice device,
     [FromQuery] string clientToken,
     CancellationToken cancel)
 {
     _Config.VerifyClientToken(clientToken);
     return(_Mgr.AddDeviceAsync(device, cancel));
 }
Beispiel #2
0
 public Task <List <StreamInfo> > GetStreamInfo([FromQuery] string clientToken, CancellationToken cancel)
 {
     _Config.VerifyClientToken(clientToken);
     return(_Mgr.GetStreamInfoAsync(cancel));
 }