public void TestIndexationKeyTooLong() { { var request = new SendDataRequest( "8374598275781252890532895328952893573289529875293523897561289561287561897456128743612879461897461289746125129875129571985712985719257219857125", ""); request.Validate(); } }
public async Task <MessageResponse <IndexationPayload> > SendDataAsync(SendDataRequest request) { request.Validate(); var message = new Message <IndexationPayload> { Payload = new IndexationPayload { Index = request.IndexationKey.ToHex(), Data = request.Data.ToHex() } }; var response = await this.Client.SendMessageAsync(message); return(new MessageResponse <IndexationPayload>(message, response.MessageId)); }
public void TestIndexationKeyIsEmpty() { var request = new SendDataRequest(string.Empty, ""); request.Validate(); }