public void AcceptSignature(VerifySignatureRequest request) { if (websocket != null) { AcceptSignatureRequestMessage message = new AcceptSignatureRequestMessage(); message.payload = request; websocket.Send(JsonUtils.serialize(message)); } }
public int AcceptSignature(SignatureVerifyRequest request) { if (websocket != null) { AcceptSignatureRequestMessage message = new AcceptSignatureRequestMessage(); message.payload = request; websocket.Send(JsonUtils.serialize(message)); return(0); } return(-1); }