Structure
LiveClientOptions
How the live test client talks to the running server.
struct LiveClientOptions
Overview
With neither tls nor configuration set, requests go through HTTPClient.shared. Setting either gives the test its own HTTPClient, which is shut down when the test scope ends.
These only affect a live test. In memory there is no connection to configure.
Topics
Initializers
Instance Properties
var configuration: HTTPClient.Configuration?var timeout: DurationThe longest any request may take. A request asking for less, throughbeforeSend, gets less.var tls: TLSConfiguration?Trust roots and client certificate for talking to a TLS-configured server. Takes precedence overconfiguration’stlsConfigurationwhen both are set.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype