Show / Hide Table of Contents

Class EthosResponseBuilder

Intended to be used to more easily build an EthosResponse object from the given .

Inheritance
System.Object
EthosResponseBuilder
EthosResponseConverter
Namespace: Ellucian.Ethos.Integration.Client
Assembly: Ellucian.Ethos.Integration.dll
Syntax
public class EthosResponseBuilder : object

Methods

BuildEthosResponseAsync(HttpResponseMessage)

Builds an EthosResponse object from the given . The headerList is built taking header values from the given for the headers listed in EthosResponse.Also copies the response body content and Http status code.

Declaration
async Task<EthosResponse> BuildEthosResponseAsync(HttpResponseMessage response)
Parameters
Type Name Description
HttpResponseMessage response
Returns
Type Description
Task<EthosResponse>

An EthosResponsecontaining the headers values from the given for the headers defined in EthosResponse, the response body content, and the response Http status code, or null if the given is null.

In This Article
Back to top Generated by DocFX