C# Class RicOneApi.Api.Util

Exibir arquivo Open project: RIConeorg/API-ClientLibrary-DotNet

Public Methods

Method Description
BuildHeader ( IRestResponse response ) : string

Method to iterate through the response header list and concatenates a string to return header fields and values

ResponseHandler ( IRestResponse response ) : void

Response handler to return HTTP Status Codes if an error with a request occurs

Private Methods

Method Description
ConvertUnixTime ( long unixDate ) : System.DateTime

Method Details

BuildHeader() public static method

Method to iterate through the response header list and concatenates a string to return header fields and values
public static BuildHeader ( IRestResponse response ) : string
response IRestResponse
return string

ResponseHandler() public static method

Response handler to return HTTP Status Codes if an error with a request occurs
public static ResponseHandler ( IRestResponse response ) : void
response IRestResponse
return void