WebRequestData
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public sealed class WebRequestDataNamespace Flux.
A request for the host: method, absolute address, headers (one line each, values joined), body.
Fields
Method
csharp
public string MethodThe HTTP method ("GET" by default).
Url
csharp
public string UrlThe absolute address.
Headers
csharp
public readonly List<KeyValuePair<string, string>> HeadersThe headers: one entry per header, its values joined.
Body
csharp
public byte[]? BodyThe body; null: none.
FollowRedirects
csharp
public bool FollowRedirectsFollow the redirects (true by default).
MaxRedirects
csharp
public int MaxRedirectsThe most redirects followed (50 by default).
DecompressGzip
csharp
public bool DecompressGzipDecode a gzip answer.
DecompressDeflate
csharp
public bool DecompressDeflateDecode a deflate answer.
MaxResponseBytes
csharp
public long MaxResponseBytesThe largest answer body taken, in bytes (HttpClient.MaxResponseContentBufferSize).
