Interface IRpcRequestContext

Encapsulates all the informations related to a request.

Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
public interface IRpcRequestContext

Properties

Cancellation

Notifies the request processor that the operation should be canceled.

Declaration
CancellationToken Cancellation { get; }
Property Value
Type Description
CancellationToken

Method

The module method.

Declaration
string Method { get; }
Property Value
Type Description
String
Remarks

The module being invoked must not use by ref parameters.

Module

The module we want to invoke.

Declaration
string Module { get; }
Property Value
Type Description
String

OriginalRequest

Gets the original request.

Declaration
IHttpRequest OriginalRequest { get; }
Property Value
Type Description
IHttpRequest

Payload

Gets the payload containing the request parameters.

Declaration
Stream Payload { get; }
Property Value
Type Description
Stream

SessionId

The (optional) session ID.

Declaration
string SessionId { get; }
Property Value
Type Description
String
In This Article
Back to top Generated by DocFX