HttpResponse

Namespace: ORA.API.Http

A HttpResponse has three parts : a body, a return code and some headers.

Constructors

HttpResponse(System.String body, System.Int32 code, System.Collections.Generic.Dictionary<System.String, System.String> headers)

Initializes a new HttpResponse.

Parameters

body System.String

the body of the new HttpResponse.

code System.Int32

the code of the new HttpResponse.

headers System.Collections.Generic.Dictionary<System.String,System.String>

the headers of the new HttpResponse.