EmptyResponse - SwiftDocOrg/Alamofire GitHub Wiki

EmptyResponse

Protocol representing an empty response. Use T.emptyValue() to get an instance.

public protocol EmptyResponse

Requirements

emptyValue()

Empty value for the conforming type.

static func emptyValue() -> Self

Returns

Value of Self to use for empty values.