Méthode | Description | |
---|---|---|
RpcMethodErrorResult ( int errorCode, string message = null, object data = null ) : System | ||
ToRpcResponse ( object id, JToken>.Func |
Turns result data into a rpc response
|
public RpcMethodErrorResult ( int errorCode, string message = null, object data = null ) : System | ||
errorCode | int | JSON-RPC error code |
message | string | (Optional)Error message |
data | object | (Optional)Data for error response |
Résultat | System |
public ToRpcResponse ( object id, JToken>.Func | ||
id | object | Rpc request id |
serializer | JToken>.Func | Json serializer function to use for objects for the response |
Résultat | RpcResponse |