HttpClient+RequestData

HttpClient.RequestData Class

The result of a HttpClient.Request(string, HttpRequestOptions, Action<Sansar.Simulation.HttpClient.RequestData>) call.

Syntax

[Sansar.Script.Interface]
public class HttpClient.RequestData : Sansar.Script.OperationCompleteEvent

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0

Members

See Also: Inherited members from Sansar.Script.OperationCompleteEvent.

Public Properties

[read-only]
 
Exception Exception . If an operation threw an exception Success will be false and the exception will be stored here. (Inherited from Sansar.Script.OperationCompleteEvent.)
[read-only]
 
Message string . If Success is false, Message may contain more information about the failure. (Inherited from Sansar.Script.OperationCompleteEvent.)
[read-only]
 
Response HttpResponse . The contents of a HttpClient.Request(string, HttpRequestOptions, Action<Sansar.Simulation.HttpClient.RequestData>).
[read-only]
 
Success bool . Whether or not the operation completed successfully. (Inherited from Sansar.Script.OperationCompleteEvent.)

Public Methods

override
ToString () : string
A string representation of this object.
override
ToString () : string
Generates a string representation of the EventData. (Inherited from Sansar.Script.EventData.)

Member Details

Response Property

Syntax

[get: Sansar.Script.Interface]
public HttpResponse Response { get; }

Value

Only valid if Sansar.Script.OperationCompleteEvent.Success is true.

Remarks

The information in the response is only valid if . is true.

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0

ToString Method

A string representation of this object.

Syntax

[Sansar.Script.Interface]
public override string ToString ()

Returns

A string representation of this object.

Remarks

The format of this string may change between releases.

Requirements

Namespace: Sansar.Simulation
Assembly: Sansar.Simulation (in Sansar.Simulation.dll)
Assembly Versions: 1.1.0.0


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.