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
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
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
The contents of a HttpClient.Request(string, HttpRequestOptions, Action<Sansar.Simulation.HttpClient.RequestData>).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
0 Comments