Table of Contents

Class Procedure<TRequest, TResponse>

Namespace
The.RPC
Assembly
Instagile.dll

Names a authenticated RPC procedure.

public class Procedure<TRequest, TResponse> : Procedure where TRequest : notnull

Type Parameters

TRequest
TResponse
Inheritance
Procedure<TRequest, TResponse>
Inherited Members

Constructors

Procedure(string?)

public Procedure(string? name = null)

Parameters

name string

Procedure(string?, string)

protected Procedure(string? ns, string name)

Parameters

ns string
name string

Methods

AcceptAsync(IEndpoint, Message, byte[]?, CancellationToken)

public override Task<Message> AcceptAsync(IEndpoint endpoint, Message request, byte[]? ticket, CancellationToken ct)

Parameters

endpoint IEndpoint
request Message
ticket byte[]
ct CancellationToken

Returns

Task<Message>