Class Procedure<TRequest, TResponse>
Names a authenticated RPC procedure.
public class Procedure<TRequest, TResponse> : Procedure where TRequest : notnull
Type Parameters
TRequestTResponse
- Inheritance
-
Procedure<TRequest, TResponse>
- Inherited Members
Constructors
Procedure(string?)
public Procedure(string? name = null)
Parameters
namestring
Procedure(string?, string)
protected Procedure(string? ns, string name)
Parameters
Methods
AcceptAsync(IEndpoint, Message, byte[]?, CancellationToken)
public override Task<Message> AcceptAsync(IEndpoint endpoint, Message request, byte[]? ticket, CancellationToken ct)
Parameters
endpointIEndpointrequestMessageticketbyte[]ctCancellationToken