ot::Dns::ServiceDiscovery::Server::SetTestMode() method
Sets the test mode for `Server`. The test mode flags are intended for testing the client by having server behave in certain ways, e.g., reject messages with certain format (e.g., more than one question in query).
Arguments
aTestMode
The new test mode (combination of `TestModeFlags`).
ot::Dns::ServiceDiscovery::Server::SetTestMode() writes 1 variable:
![]()
ot::Dns::ServiceDiscovery::Server::SetTestMode()