Table of Contents

Class ClientRequest

Namespace
VpnHood.Core.Common.Messaging
Assembly
VpnHood.Core.Common.dll

Provides the base of a client's request to a server.

public abstract class ClientRequest
Inheritance
ClientRequest
Derived
Inherited Members

Constructors

ClientRequest(byte)

Provides the base of a client's request to a server.

protected ClientRequest(byte requestCode)

Parameters

requestCode byte

The code of the request's kind.

Properties

RequestCode

Gets the code of the request's kind.

public byte RequestCode { get; }

Property Value

byte

RequestId

Gets or sets the request's ID, which its logs carry.

public required string RequestId { get; set; }

Property Value

string

RequestTime

Gets when the client made the request, by its own clock, in UTC. The default is the time it was made.

public DateTime RequestTime { get; init; }

Property Value

DateTime