Ejemplo n.º 1
0
 public async Task Get(HttpContext context, IStateObject actor, CancellationToken cancellationToken)
 {
     await SetResponse(context, await actor.Get(cancellationToken), cancellationToken);
 }
 public async Task Get(HttpContext context, IStateObject actor)
 {
     SetResponse(context, await actor.Get());
 }
 /// <summary>
 /// Processes a non-exclusive get request.
 /// </summary>
 /// <param name="cookie"></param>
 /// <returns></returns>
 public Task <DataResponse> Get()
 {
     return(state.Get());
 }