From 06148c682b0f429debfc51c04f39525164af8f7e Mon Sep 17 00:00:00 2001 From: Tom Gardham-Pallister Date: Thu, 3 May 2018 07:48:31 +0100 Subject: [PATCH] updated readme --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e2df090..faeedaa 100644 --- a/README.md +++ b/README.md @@ -56,12 +56,14 @@ So in order to get Rafty really running the IPeerProvider needs to return peers. Finally you need to expose the INode interface to some kind of HTTP. I would advise just a plain old .net core web api type thing. These are the methods you need to expose and the transport in your IPeer should hit these URLS (hope that makes some sense). You can look at NodePeer to see how I do this in memory. ```csharp -AppendEntriesResponse Request(AppendEntries appendEntries); -RequestVoteResponse Request(RequestVote requestVote); -Response Request(T command); + +Task Request(AppendEntries appendEntries); +Task Request(RequestVote requestVote); +Task> Request(T command); + ``` -## Further help.. +## Further help The Acceptance and Integration tests will be helpful for anyone who wants to use Rafty.