Table of Contents

Class P2PResponsePayload<TPayload>

Namespace
SteamNetworkLib.Models
Assembly
SteamNetworkLib.dll

Serializable response envelope used by P2PResponseMessage<TPayload>.

public class P2PResponsePayload<TPayload>

Type Parameters

TPayload

The response body type.

Inheritance
P2PResponsePayload<TPayload>
Inherited Members

Constructors

P2PResponsePayload()

public P2PResponsePayload()

Properties

Body

Gets or sets the response body.

public TPayload Body { get; set; }

Property Value

TPayload

Error

Gets or sets a developer-facing error message.

public string Error { get; set; }

Property Value

string

RequestId

Gets or sets the request correlation identifier.

public string RequestId { get; set; }

Property Value

string

Success

Gets or sets whether the request completed successfully.

public bool Success { get; set; }

Property Value

bool