C# Class MSA.Zmq.JsonRpc.JsonRpcResponse

Exibir arquivo Open project: kadekcipta/ZmqJsonRpc Class Usage Examples

Public Methods

Method Description
CreateJsonError ( int id, int code, string message, string data ) : string
CreateJsonErrorResponse ( int id, int code, string message, string data ) : JsonRpcResponse
CreateJsonResponse ( int id, Object result ) : string

Method Details

CreateJsonError() public static method

public static CreateJsonError ( int id, int code, string message, string data ) : string
id int
code int
message string
data string
return string

CreateJsonErrorResponse() public static method

public static CreateJsonErrorResponse ( int id, int code, string message, string data ) : JsonRpcResponse
id int
code int
message string
data string
return JsonRpcResponse

CreateJsonResponse() public static method

public static CreateJsonResponse ( int id, Object result ) : string
id int
result Object
return string