[]
Gets or sets a callback function that is invoked before any request is made to the Web API.
[JsonIgnore]
public Func<OnRequestInfo, OnRequestInfo> OnRequest { get; set; }
Type | Description |
---|---|
Func<OnRequestInfo, OnRequestInfo> | A function taking and returning an OnRequestInfo object. |
The OnRequest
callback allows you to customize the request information before it is sent to the Web API.