Table of Contents

Class RequestBase

Namespace
VpnHood.Core.Tunneling.Messaging
Assembly
VpnHood.Core.Tunneling.dll

Provides the base of a request in a session, which carries the session's ID and key.

public abstract class RequestBase : ClientRequest
Inheritance
RequestBase
Derived
Inherited Members

Constructors

RequestBase(RequestCode)

Provides the base of a request in a session, which carries the session's ID and key.

protected RequestBase(RequestCode requestCode)

Parameters

requestCode RequestCode

The code of the request's kind.

Properties

SessionId

Gets or sets the session's ID.

public required ulong SessionId { get; set; }

Property Value

ulong

SessionKey

Gets or sets the session's key, which shows the request is the session's.

public required ReadOnlyMemory<byte> SessionKey { get; set; }

Property Value

ReadOnlyMemory<byte>