Class ConfigFile.Webhooks
Configure webhooks - broadcast events to remote servers.
Inherited Members
Namespace: SuperOffice.Configuration
Assembly: SoCore.dll
Syntax
public static class ConfigFile.Webhooks
Properties
EnableWebhooks
Broadcast events to remote servers. Default false.
Declaration
public static bool EnableWebhooks { get; set; }
Property Value
Type | Description |
---|---|
bool |
NumThreads
How many background threads to run for dispatching webhooks. Default 0 = scale automatically according to demand.
Declaration
public static int NumThreads { get; set; }
Property Value
Type | Description |
---|---|
int |
RequireHttps
Require webhooks target URLs use HTTPS protocol. Should only be turned off during development. Default true.
Declaration
public static bool RequireHttps { get; set; }
Property Value
Type | Description |
---|---|
bool |
Timeout
Stop background threads after X number of seconds of idle time. Default 30 seconds.
Declaration
public static int Timeout { get; set; }
Property Value
Type | Description |
---|---|
int |
ValidateHttps
Require valid public HTTPS certificates. Self-signed or expired certs on webhook target URLs are refused. Should only be turned off during development. Default true.
Declaration
public static bool ValidateHttps { get; set; }
Property Value
Type | Description |
---|---|
bool |