Skip to main content
#include <dpf_api.h> Inherits ansys::dpf::RuntimeConfig.

Public Member Functions

Detailed Description

enables to set runtime configuration options to DPF Client.

Member Function Documentation

enableCache()

Sets whether gRPC calls should be intercepted to cache responses or not.

getMetadata()

Gets the custom metadata appended to gRPC packets.

getStreamingBufferSize()

Returns the chunk size (in bytes) used in gRPC streaming calls.

isCacheEnabled()

Returns Whether gRPC calls are intercepted to cache responses or not.

isConnectionSecure()

Returns if the gRPC communication is secured by using TLS.

setMetadata()

Sets the custom metadata appended to gRPC packets.

setSecureConnection()

Sets the use of TLS for secure gRPC connections.

setStreamFloatsInsteadOfDoubles()

Sets whether double values (8 bytes) should be converted and streamed as floats values (4 bytes) in gRPC streaming calls.

setStreamingBufferSize()

Sets the chunk size (in bytes) used in gRPC streaming calls.

streamingFloatsInsteadOfDouble()

Returns Whether double values (8 bytes) are converted and streamed as floats values (4 bytes) in gRPC streaming calls.