C# Class SFA.DAS.Approvals.ErrorHandling.HttpResponseExtensions

Datei anzeigen Open project: SkillsFundingAgency/das-apim-endpoints

Public Methods

Method Description
SetStatusCode ( HttpResponse httpResponse, HttpStatusCode httpStatusCode ) : void
SetSubStatusCode ( HttpResponse httpResponse, HttpSubStatusCode httpSubStatusCode ) : void

Method Details

SetStatusCode() public static method

public static SetStatusCode ( HttpResponse httpResponse, HttpStatusCode httpStatusCode ) : void
httpResponse HttpResponse
httpStatusCode HttpStatusCode
return void

SetSubStatusCode() public static method

public static SetSubStatusCode ( HttpResponse httpResponse, HttpSubStatusCode httpSubStatusCode ) : void
httpResponse HttpResponse
httpSubStatusCode HttpSubStatusCode
return void