ReqRest
Show / Hide Table of Contents

Class HttpResponseReasonPhraseBuilderExtensions

Defines the static methods for an IHttpResponseReasonPhraseBuilder provided by the library.

Inheritance
Object
HttpResponseReasonPhraseBuilderExtensions
Namespace: ReqRest.Builders
Assembly: ReqRest.dll
Syntax
public static class HttpResponseReasonPhraseBuilderExtensions

Methods

SetReasonPhrase<T>(T, Nullable<String>)

Sets the reason phrase of the HTTP message which is being built.

Declaration
public static T SetReasonPhrase<T>(this T builder, string? reasonPhrase)
    where T : IHttpResponseReasonPhraseBuilder
Parameters
Type Name Description
T builder

The builder.

Nullable<String> reasonPhrase

The reason phrase.

Returns
Type Description
T

The specified builder.

Type Parameters
Name Description
T

The type of the builder.

Exceptions
Type Condition
ArgumentNullException
  • builder
Back to top Copyright © 2019 ReqRest - Generated with DocFX - Material Theme made by Oscar Vásquez - Impressum (Imprint)