Options
public struct Options : OptionSet
These options can be used to configure the behaviour of the service.
-
A bit representing a single option.
Declaration
Swift
public let rawValue: Int -
Initialize a single option with a given value.
Declaration
Swift
public init(rawValue: Int)Parameters
rawValueThe bit representing the option.
-
This option activates bad behaviour of the service. Every request send to a service with activated bad behaviour is logged and available in the visualization API.
Warning
Do not use this in production system. This is meant for demonstration purposes only. Every reqeust will be logged on the server, including the user’s IP address.Declaration
Swift
static let activateBadBehavior: PrivacyService.Options
View on GitHub
Options Structure Reference