Typos and grammar
MODIFY
WalletWasabi.Gui/Rpc/JsonRpcRequest.cs
WalletWasabi.Gui/Rpc/JsonRpcRequest.cs
@@ -14,7 +14,7 @@ namespace WalletWasabi.Gui.Rpc
/// member MAY be omitted.
/// + id - An identifier established by the Client that MUST contain a String, Number, or NULL value if included.
/// If it is not included it is assumed to be a notification. The value SHOULD normally not be Null [1] and
- /// Numbers SHOULD NOT contain fractional parts [2]
+ /// Numbers SHOULD NOT contain fractional parts [2].
/// </summary>
public class JsonRpcRequest
{
@@ -37,7 +37,7 @@ namespace WalletWasabi.Gui.Rpc
}
/// <summary>
- /// Constructor used to deserialize the requests
+ /// Constructor used to deserialize the requests.
/// </summary>
[JsonConstructor]
public JsonRpcRequest(string jsonrpc, string id, string method, JToken parameters)

MODIFY
WalletWasabi.Gui/Rpc/JsonRpcRequestHandler.cs
WalletWasabi.Gui/Rpc/JsonRpcRequestHandler.cs
@@ -11,7 +11,7 @@ namespace WalletWasabi.Gui.Rpc
{
///<summary>
/// This class coordinates all the major steps in processing the RPC call.
- /// It parses the json request, parses the parameters, invoke the service
+ /// It parses the json request, parses the parameters, invokes the service
/// methods and handles the errors.
///</summary>
public class JsonRpcRequestHandler<TService>
@@ -39,10 +39,10 @@ namespace WalletWasabi.Gui.Rpc
}
/// <summary>
- /// Perses the request and dispatch it to the correct service's method.
+ /// Parses the request and dispatches it to the correct service's method.
/// </summary>
/// <param name="body">The raw rpc request.</param>
- /// <param name="cancellationToken">The cancellation token that will be past to the service handler in case it expects/accept one.</param>
+ /// <param name="cancellationToken">The cancellation token that will be past to the service handler in case it expects/accepts one.</param>
/// <returns>The response that, after serialization, is returned as response.</returns>
public async Task<string> HandleAsync(string body, CancellationToken cancellationToken)
{

MODIFY
WalletWasabi.Gui/Rpc/JsonRpcService.cs
WalletWasabi.Gui/Rpc/JsonRpcService.cs
@@ -12,13 +12,13 @@ namespace WalletWasabi.Gui.Rpc
/// Provides two methods for responding to the clients with a **result** for valid
/// requests or with **error** in case the request is invalid or there is a problem.
///
- /// Also, it loads and serves information about the service. This is, it discovers
+ /// Also, it loads and serves information about the service. It discovers
/// (using reflection) the methods that have to be invoked and the parameters it
/// receives.
///</summary>
public class JsonRpcServiceMetadataProvider
{
- /// Keeps the directory of procedures' metadata
+ // Keeps the directory of procedures' metadata
private Dictionary<string, JsonRpcMethodMetadata> _proceduresDirectory =
new Dictionary<string, JsonRpcMethodMetadata>();
private Type ServiceType { get; }

Typos and grammar

Co-Authored-By: yahiheb <52379387+yahiheb@users.noreply.github.com>
Co-Authored-By: Max Hillebrand <30683012+MaxHillebrand@users.noreply.github.com>