Zeebe C# Client 2.10.0
C# Client to communicate with an Zeebe Gateway
Loading...
Searching...
No Matches
Zeebe.Client.Api.Builder.IZeebeClientFinalBuildStep Interface Reference
Inheritance diagram for Zeebe.Client.Api.Builder.IZeebeClientFinalBuildStep:
Zeebe.Client.Api.Builder.IZeebeSecureClientBuilder

Public Member Functions

IZeebeClientFinalBuildStep UseAccessToken (string accessToken)
 Client should use the given access token to authenticate with.
 
IZeebeClientFinalBuildStep UseAccessTokenSupplier (IAccessTokenSupplier supplier)
 Client should use an access token to authenticate with and the given supplier should be used to receive the token.
 
IZeebeClientFinalBuildStep UseKeepAlive (TimeSpan keepAlive)
 Uses the given time interval to determine when to send a keepalive ping to the gateway. The default is 30 seconds.
 
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).
 
IZeebeClient Build ()
 Builds the client with the given configuration.
 

Member Function Documentation

◆ 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()

IZeebeClientFinalBuildStep Zeebe.Client.Api.Builder.IZeebeClientFinalBuildStep.UseAccessToken ( string accessToken)

Client should use the given access token to authenticate with.

Parameters
accessTokenthe access token which is used for authentication.
Returns
the final client builder step.

◆ UseAccessTokenSupplier()

IZeebeClientFinalBuildStep Zeebe.Client.Api.Builder.IZeebeClientFinalBuildStep.UseAccessTokenSupplier ( IAccessTokenSupplier supplier)

Client should use an access token to authenticate with and the given supplier should be used to receive the token.

Parameters
supplierthe access token supplier which is called to supplied the access token.
Returns
the final client builder step.

◆ UseKeepAlive()

IZeebeClientFinalBuildStep Zeebe.Client.Api.Builder.IZeebeClientFinalBuildStep.UseKeepAlive ( TimeSpan keepAlive)

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
keepAlivethe 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
sleepDurationProviderThe 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: