Package-level declarations

Types

Link copied to clipboard
internal class GiphyApiImpl(authenticatedNetworkClient: AuthenticatedNetworkClient, mediaNetworkClient: UnboundNetworkClient) : GiphyApi

The proxy route is the same on every API version, so one implementation serves all of them. mediaNetworkClient must be unauthenticated: GIF files come from Giphy's CDN, never from the Wire backend.

Link copied to clipboard
internal class SFTApiImpl(sftNetworkClient: UnboundNetworkClient) : SFTApi

SFT URLs come from AVS and can point to any host, so this must only ever be given an unauthenticated client. Never back it with the Wire backend client.

Link copied to clipboard
internal class WildCardApiImpl(authenticatedNetworkClient: AuthenticatedNetworkClient) : WildCardApi