◆ Build()
| IZeebeClient Zeebe.Client.Api.Builder.IZeebeClientFinalBuildStep.Build |
( |
| ) |
|
Builds the client with the given configuration.
- Returns
- the client which was build with the given configuration.
◆ UseAccessToken()
Client should use the given access token to authenticate with.
- Parameters
-
| accessToken | the access token which is used for authentication. |
- Returns
- the final client builder step.
◆ UseAccessTokenSupplier()
Client should use an access token to authenticate with and the given supplier should be used to receive the token.
- Parameters
-
| supplier | the access token supplier which is called to supplied the access token. |
- Returns
- the final client builder step.
◆ UseKeepAlive()
Uses the given time interval to determine when to send a keepalive ping to the gateway. The default is 30 seconds.
This is an optional configuration.
- Parameters
-
| keepAlive | the timespan between keep alive requests. |
- Returns
- the final step builder.
◆ UseRetrySleepDurationProvider()
| IZeebeClientFinalBuildStep Zeebe.Client.Api.Builder.IZeebeClientFinalBuildStep.UseRetrySleepDurationProvider |
( |
Func< int, TimeSpan > | sleepDurationProvider | ) |
|
Uses the given duration provider for the send retries. On each retry, the duration to wait is calculated by calling sleepDurationProvider with the current retry number (1 for first retry, 2 for second etc).
This is an optional configuration. Per default the wait time provider provides base two wait time, 2^1 seconds, 2^2 seconds, 2^3 seconds etc. until one minute is reached.
- Parameters
-
| sleepDurationProvider | The function that provides the duration to wait for for a particular retry attempt. |
- Returns
- the final step builder.
The documentation for this interface was generated from the following file:
- Client/Api/Builder/IZeebeClientBuilder.cs