Table of Contents

Class ActionResultBuilder

Namespace
HttpBuildR
Assembly
HttpBuildR.ActionResult.dll

ActionResult builders

public static class ActionResultBuilder
Inheritance
ActionResultBuilder
Inherited Members

Methods

Ok<T>(T, params Cookie[])

Converts T to an ActionResult of T

ToActionResult<T>(HttpResponseMessage, params Cookie[])

Converts a HttpResponseMessage to an ActionResult of T

WithProblemDetails(HttpResponseMessage, ProblemDetails, JsonSerializerOptions?)

Adds problem details as a json response body

WithProblemDetails(HttpResponseMessage, string?, string?, string?, string?, JsonSerializerOptions?)

Adds problem details as a json response body