HttpResponse

HttpResponse Struct

Data returned from HttpClient.Request(string, HttpRequestOptions, Action<Sansar.Simulation.HttpClient.RequestData>)

Syntax

[Sansar.Script.Interface]
public struct HttpResponse

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 ValueType.

Public Fields

 
Body string . The response body.
 
Headers Dictionary<string, string> . The headers from the response
 
Status int . The status code returned by the remote server.

Member Details

Body Field

The response body.

Syntax

[Sansar.Script.Interface]
public string Body

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

Headers Field

The headers from the response

Syntax

[Sansar.Script.Interface]
public Dictionary<string, string> Headers

Remarks

May be null if HttpRequestOptions.RetrieveAllHeaders is false or if no headers are returned.

Requirements

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

Status Field

The status code returned by the remote server.

Syntax

[Sansar.Script.Interface]
public int Status

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


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

0 Comments

Article is closed for comments.