Table of Contents

Interface IActionEndpoint

Namespace
TypedRest.Endpoints.Rpc
Assembly
TypedRest.dll

RPC endpoint that is invoked with no input or output.

public interface IActionEndpoint : IRpcEndpoint, IEndpoint
Inherited Members

Methods

InvokeAsync(CancellationToken)

Invokes the action.

Task InvokeAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Used to cancel the request.

Returns

Task

Exceptions

AuthenticationException

Unauthorized

UnauthorizedAccessException

Forbidden

KeyNotFoundException

NotFound or Gone

HttpRequestException

Other non-success status code.