Skip to content

HttpVersionPolicy

Summary

An enumeration of different HTTP version policies.

Signature

1
public enum HttpVersionPolicy

Namespace

cAlgo.API

Fields

RequestVersionOrLower

Summary

Use the requested version or downgrade to a lower one. This is the default behavior.

Signature

1
public static HttpVersionPolicy RequestVersionOrLower;

Return Value

HttpVersionPolicy

RequestVersionOrHigher

Summary

Use the highest available version, downgrading only to the requested version but not below.

Signature

1
public static HttpVersionPolicy RequestVersionOrHigher;

Return Value

HttpVersionPolicy

RequestVersionExact

Summary

Only use the requested version.

Signature

1
public static HttpVersionPolicy RequestVersionExact;

Return Value

HttpVersionPolicy