コード例 #1
0
 public Task <bool> AddDeviceAsync(
     NotificationDevice device,
     [FromQuery] string clientToken,
     CancellationToken cancel)
 {
     _Config.VerifyClientToken(clientToken);
     return(_Mgr.AddDeviceAsync(device, cancel));
 }
コード例 #2
0
ファイル: StreamController.cs プロジェクト: phillsv87/AtHome
 public Task <List <StreamInfo> > GetStreamInfo([FromQuery] string clientToken, CancellationToken cancel)
 {
     _Config.VerifyClientToken(clientToken);
     return(_Mgr.GetStreamInfoAsync(cancel));
 }