Structures
The following structures are available globally.
-
Encapsulates properties needed to initialize a
See moreCircuitBreakerobject within theRestRequestinitializer.Ais the type of the fallback’s parameter. See the CircuitBreaker documentation for a full explanation of these parameters.Declaration
Swift
public struct CircuitParameters<A> -
Represents an error while reading the data for a certificate or private key.
See moreDeclaration
Swift
public struct CertificateError : Error, CustomStringConvertible, Equatable -
Represents a client certificate that should be provided as part of a RestRequest. The certificate and its corresponding private key will be read from PEM formatted data. If the private key is encrypted with a passphrase, the passphrase should also be supplied.
See moreDeclaration
Swift
public struct ClientCertificate -
Struct used to specify the type of authentication being used.
See moreDeclaration
Swift
public struct Credentials -
Object encapsulating a singular part of a multipart form.
See moreDeclaration
Swift
public struct BodyPart -
Enum describing error types that can occur during a rest request and response.
See moreDeclaration
Swift
public struct RestError : Errorextension RestError: CustomStringConvertibleextension RestError: Equatable -
Contains data associated with a finished network request, with
See moreTbeing the type of response we expect to receive.Declaration
Swift
public struct RestResponse<T>
View on GitHub
Structures Reference