Table of Contents

Class RPCOptions

Namespace
The.RPC
Assembly
Instagile.dll
public class RPCOptions
Inheritance
RPCOptions
Inherited Members

Fields

ServerAnonymousRateLimit

Minimum permitted delay between unauthenticated RPC calls.

public TimeSpan ServerAnonymousRateLimit

Field Value

TimeSpan

ServerLagEmulation

public TimeSpan? ServerLagEmulation

Field Value

TimeSpan?

Properties

AlgorithmProvider

An implementation of cryptographic primitives to be used by authentication.

public IAlgorithmProvider AlgorithmProvider { get; set; }

Property Value

IAlgorithmProvider

AuthenticationProtocol

Override the authentication protocol for RPC endpoints - by default, it will be based on what the configured authenticator supports.

public AuthenticationProtocol? AuthenticationProtocol { get; set; }

Property Value

AuthenticationProtocol?

ClientSessionLeeway

Duration buffer - if the session is within this interval of ending, it will be renewed early.

public TimeSpan ClientSessionLeeway { get; set; }

Property Value

TimeSpan

ClientSlowThreshhold

RPC calls which take longer than this interval will be logged.

public TimeSpan ClientSlowThreshhold { get; set; }

Property Value

TimeSpan

ClientTimeout

RPC calls which take longer than this interval will be cancelled.

public TimeSpan ClientTimeout { get; set; }

Property Value

TimeSpan

EnforceVersionMatch

Require that the client and server have the same app version and environment.

public bool EnforceVersionMatch { get; set; }

Property Value

bool

ServerSessionDeadline

Maximum duration - after this interval, the session ends.

public TimeSpan ServerSessionDeadline { get; set; }

Property Value

TimeSpan

StreamBuffering

If true, AttachedStream components of RPC requests will be fully copied into memory before sending to/after reading from the IEndpoint.

public bool StreamBuffering { get; set; }

Property Value

bool

StreamEncryption

If true, AttachedStream components of RPC messages will be encrypted using the same cipher as the message body (if any).

public bool StreamEncryption { get; set; }

Property Value

bool

Remarks

Not supported in WebAssembly.

Methods

Clone()

public RPCOptions Clone()

Returns

RPCOptions