Click or drag to resize

ConfigurationConfigurationClientLoadPdaConfigAsync(LoadPdaConfigRequest, Metadata, NullableDateTime, CancellationToken) Method

Load a .json configuration file (relative to server) and return it as proto message. This can be used to load a configuration and adopt it before applying it to the service with SetPdaConfig(). If only a .json configuration should be applied to the service, SetPdaConfig() can be directly called with the .json configuration path (reachable from the machine running the service).

Namespace: RAYLASE.PDA.API
Assembly: RAYLASE.PDA.API.Protos (in RAYLASE.PDA.API.Protos.dll) Version: 1.1.1
Syntax
C#
public virtual AsyncUnaryCall<LoadPdaConfigReply> LoadPdaConfigAsync(
	LoadPdaConfigRequest request,
	Metadata headers = null,
	DateTime? deadline = null,
	CancellationToken cancellationToken = default
)

Parameters

request  LoadPdaConfigRequest
The request to send to the server.
headers  Metadata  (Optional)
The initial metadata to send with the call. This parameter is optional.
deadline  NullableDateTime  (Optional)
An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken  CancellationToken  (Optional)
An optional token for canceling the call.

Return Value

AsyncUnaryCallLoadPdaConfigReply
The call object.
See Also