Class ClientRequest
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
requestCodebyteThe code of the request's kind.
Properties
RequestCode
Gets the code of the request's kind.
public byte RequestCode { get; }
Property Value
RequestId
Gets or sets the request's ID, which its logs carry.
public required string RequestId { get; set; }
Property Value
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; }