[]
Represents the settings related to the backend server, including the base URL and request modification handlers.
public class ServerSettings
new ServerSettings
{
Url = "https://api.example.com",
OnBeforeRequest = request =>
{
request.Headers.Add("Authorization", "Bearer token");
return request;
}
};
Name | Description |
---|---|
ServerSettings() |
Name | Description |
---|---|
OnBeforeRequest | Gets or sets a special handler to modify requests before they are sent. |
Url | Gets or sets the base URL for Designer Server API.. |