Skip to content

Commit

Permalink
Added ICrudGrpcClient interface
Browse files Browse the repository at this point in the history
  • Loading branch information
newky2k committed Apr 5, 2022
1 parent 0b3c163 commit 77d1e24
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions DSoft.Portable.WebClient.Grpc.Encryption/ICrudGrpcClient.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using Grpc.Core;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;

namespace DSoft.Portable.WebClient.Grpc.Encryption
{
public interface ICrudGrpcClient
{
AsyncUnaryCall<SecureResponse> AddAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken));

AsyncUnaryCall<SecureResponse> DeleteAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken));

AsyncUnaryCall<SecureResponse> FindAllAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken));

AsyncUnaryCall<SecureResponse> FindAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken));

AsyncUnaryCall<SecureResponse> UpdateAsync(SecureRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken));



}
}

0 comments on commit 77d1e24

Please sign in to comment.