Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
DefaultRpcParser ( ILogger |
|
|
MatchesRpcRoute ( IRpcRouteProvider routeProvider, string requestUrl, RpcRoute &route ) : bool |
Indicates if the incoming request matches any predefined routes
|
|
ParseRequests ( string jsonString, bool &isBulkRequest, |
Parses all the requests from the json in the request
|
public DefaultRpcParser ( ILogger |
||
logger | ILogger |
Optional logger for logging Rpc parsing |
Résultat | System |
public MatchesRpcRoute ( IRpcRouteProvider routeProvider, string requestUrl, RpcRoute &route ) : bool | ||
routeProvider | IRpcRouteProvider | Provider that allows the retrieval of all configured routes |
requestUrl | string | The current request url |
route | RpcRoute | The matching route corresponding to the request url if found, otherwise it is null |
Résultat | bool |
public ParseRequests ( string jsonString, bool &isBulkRequest, |
||
jsonString | string | Json from the http request |
isBulkRequest | bool | If true, the request is a bulk request (even if there is only one) |
jsonSerializerSettings | (Optional)Json serialization settings that will be used in serialization and deserialization for rpc requests | |
Résultat | List |