ReqRest
Show / Hide Table of Contents

Class HttpProtocolVersionBuilderExtensions

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

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

Methods

SetVersion<T>(T, Version)

Sets the HTTP protocol version which is being built.

Declaration
public static T SetVersion<T>(this T builder, Version version)
    where T : IHttpProtocolVersionBuilder
Parameters
Type Name Description
T builder

The builder.

Version version

The HTTP protocol version.

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)