Property | Type | Description | |
---|---|---|---|
GetMatchingMethod | RpcMethod | ||
GetRpcMethods | List |
||
GetUnknownExceptionReponse | RpcResponse | ||
IsAuthorizedAsync | Task |
Method | Description | |
---|---|---|
DefaultRpcInvoker ( IAuthorizationService authorizationService, IAuthorizationPolicyProvider policyProvider, ILogger |
||
InvokeBatchRequestAsync ( List
|
Call the incoming Rpc requests methods and gives the appropriate respones
|
|
InvokeRequestAsync ( |
Call the incoming Rpc request method and gives the appropriate response
|
Method | Description | |
---|---|---|
GetMatchingMethod ( RpcRoute route, |
Finds the matching Rpc method for the current request
|
|
GetRpcMethods ( RpcRoute route, IServiceProvider serviceProvider = null, |
Gets all the predefined Rpc methods for a Rpc route
|
|
GetUnknownExceptionReponse ( |
Converts an unknown caught exception into a Rpc response
|
|
IsAuthorizedAsync ( RpcMethod rpcMethod, HttpContext httpContext ) : Task |
public DefaultRpcInvoker ( IAuthorizationService authorizationService, IAuthorizationPolicyProvider policyProvider, ILogger |
||
authorizationService | IAuthorizationService | Service that authorizes each method for use if configured |
policyProvider | IAuthorizationPolicyProvider | Provides authorization policies for the authroziation service |
logger | ILogger |
Optional logger for logging Rpc invocation |
serverConfig | IOptions |
Configuration data for the server |
return | System |
public InvokeBatchRequestAsync ( List
|
||
requests | List |
List of Rpc requests |
route | RpcRoute | Rpc route that applies to the current request |
httpContext | HttpContext | The context of the current http request |
jsonSerializerSettings | Json serialization settings that will be used in serialization and deserialization for rpc requests | |
return | Task
|
public InvokeRequestAsync ( |
||
request | Rpc request | |
route | RpcRoute | Rpc route that applies to the current request |
httpContext | HttpContext | The context of the current http request |
jsonSerializerSettings | Json serialization settings that will be used in serialization and deserialization for rpc requests | |
return | Task |