Class CurlLogAttribute
Replaces a property/field value with a fixed placeholder in cURL request logs.
Example:
[CurlLogPlaceholder("<base64_image>")] public string Base64Image { get; set; }
Inheritance
CurlLogAttribute
Assembly: Glitch9.IO.dll
Syntax
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public sealed class CurlLogAttribute : Attribute
Constructors
|
Edit this page
View Source
CurlLogAttribute(string)
Declaration
public CurlLogAttribute(string placeholder = "<redacted>")
Parameters
| Type |
Name |
Description |
| string |
placeholder |
|
Properties
|
Edit this page
View Source
Placeholder
Declaration
public string Placeholder { get; }
Property Value
Extension Methods