rlmesh::ServeOptions
Class in rlmesh.hpp.
struct ServeOptionsFields
- allow_remote_shutdown
bool allow_remote_shutdown = false - idle_timeout
std::optional<Duration> idle_timeout{} - drain_timeout
std::optional<Duration> drain_timeout{} - close_timeout
std::optional<Duration> close_timeout{} - compress_responses
bool compress_responses = false - workflow_edition
std::optional<std::string> workflow_edition{}
Methods
- raw()
RLMeshServeOptions raw() const - with_allow_remote_shutdown()
ServeOptions& with_allow_remote_shutdown(bool value) & - with_allow_remote_shutdown()
ServeOptions with_allow_remote_shutdown(bool value) && - with_idle_timeout()
ServeOptions& with_idle_timeout(std::optional<Duration> value) & - with_idle_timeout()
ServeOptions with_idle_timeout(std::optional<Duration> value) && - with_drain_timeout()
ServeOptions& with_drain_timeout(std::optional<Duration> value) & - with_drain_timeout()
ServeOptions with_drain_timeout(std::optional<Duration> value) && - with_close_timeout()
ServeOptions& with_close_timeout(std::optional<Duration> value) & - with_close_timeout()
ServeOptions with_close_timeout(std::optional<Duration> value) && - with_compress_responses()
ServeOptions& with_compress_responses(bool value) & - with_compress_responses()
ServeOptions with_compress_responses(bool value) && - with_workflow_edition()
ServeOptions& with_workflow_edition(std::optional<std::string> value) & - with_workflow_edition()
ServeOptions with_workflow_edition(std::optional<std::string> value) &&
allow_remote_shutdown
field[source]bool allow_remote_shutdown = falseidle_timeout
field[source]std::optional<Duration> idle_timeout{}drain_timeout
field[source]std::optional<Duration> drain_timeout{}close_timeout
field[source]std::optional<Duration> close_timeout{}compress_responses
field[source]bool compress_responses = falseworkflow_edition
field[source]std::optional<std::string> workflow_edition{}raw
method[source]RLMeshServeOptions raw() constwith_allow_remote_shutdown
method[source]ServeOptions& with_allow_remote_shutdown(bool value) &with_allow_remote_shutdown
method[source]ServeOptions with_allow_remote_shutdown(bool value) &&with_idle_timeout
method[source]ServeOptions& with_idle_timeout(std::optional<Duration> value) &with_idle_timeout
method[source]ServeOptions with_idle_timeout(std::optional<Duration> value) &&with_drain_timeout
method[source]ServeOptions& with_drain_timeout(std::optional<Duration> value) &with_drain_timeout
method[source]ServeOptions with_drain_timeout(std::optional<Duration> value) &&with_close_timeout
method[source]ServeOptions& with_close_timeout(std::optional<Duration> value) &with_close_timeout
method[source]ServeOptions with_close_timeout(std::optional<Duration> value) &&with_compress_responses
method[source]ServeOptions& with_compress_responses(bool value) &with_compress_responses
method[source]ServeOptions with_compress_responses(bool value) &&with_workflow_edition
method[source]ServeOptions& with_workflow_edition(std::optional<std::string> value) &with_workflow_edition
method[source]ServeOptions with_workflow_edition(std::optional<std::string> value) &&