CombineWrapper
public struct CombineWrapper : WebcomWrapper, Equatable, CustomStringConvertible, CustomDebugStringConvertible
The type that wraps AuthenticationDetails in order to enrich it with a Combine-based API.
See also the documentation section of WebcomWrapper for the corresponding wrapped type.
-
Declaration
Swift
public let wrapped: AuthenticationDetails
-
Downloads the avatar representing the user.
This method downloads the content from
avatarURL.Declaration
Swift
public func downloadAvatar(session: URLSession? = nil) -> WebcomFuture<UIImage>Parameters
sessionThe session to use to download the avatar. When
nil,Webcom.defaultSessionis used.Return Value
A future with the downloaded avatar.
CombineWrapper Structure