Skip to content
Start free evaluation

pdcomm::opcua::server_options

Function

Returns server options filled with the library defaults.

inline pdcomm_opcua_server_options server_options()

Declared in: #include <pdcomm/opcua/pdcomm_opcua.hpp>

Secure endpoints only, 33 connections, 32 sessions and the application URI urn:pdcomm:opcua:server. Set the endpoint URL, the identity and the trusted client certificate before server::create(); the byte views must stay valid until that call returns.

Returns

Initialized options.

Notes

  • Throws error: if the ABI version differs or initialization fails.