ForwarderRequestConfig Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public sealed class ForwarderRequestConfig : IEquatable<Yarp.ReverseProxy.Forwarder.ForwarderRequestConfig>
type ForwarderRequestConfig = class
interface IEquatable<ForwarderRequestConfig>
Public NotInheritable Class ForwarderRequestConfig
Implements IEquatable(Of ForwarderRequestConfig)
- Inheritance
-
ForwarderRequestConfig
- Implements
Constructors
ForwarderRequestConfig() |
Properties
ActivityTimeout |
How long a request is allowed to remain idle between any operation completing, after which it will be canceled. The default is 100 seconds. The timeout will reset when response headers are received or after successfully reading or writing any request, response, or streaming data like gRPC or WebSockets. TCP keep-alive packets and HTTP/2 protocol pings will not reset the timeout, but WebSocket pings will. |
AllowResponseBuffering |
Allows to use write buffering when sending a response back to the client, if the server hosting YARP (e.g. IIS) supports it. NOTE: enabling it can break SSE (server side event) scenarios. |
Empty |
An empty instance of this type. |
Version |
Preferred version of the outgoing request. The default is HTTP/2.0. |
VersionPolicy |
The policy applied to version selection, e.g. whether to prefer downgrades, upgrades or
request an exact version. The default is |
Methods
<Clone>$() | |
Equals(ForwarderRequestConfig) | |
Equals(Object) | |
GetHashCode() | |
ToString() |
Operators
Equality(ForwarderRequestConfig, ForwarderRequestConfig) | |
Inequality(ForwarderRequestConfig, ForwarderRequestConfig) |