Classes
- CodableHTTPCookie
-
A
subclass
ofHTTPCookie
conforming toCodable
.
Structures
- KeychainStorage
-
A
struct
defining aStorage
cachingItem
s safely inside the user's Keychain. - KeychainStorage.Iterator
-
A
struct
defining aKeychainStorage
iterator. - EndpointBuilder
-
A
struct
defining a result builder capable of generating a single endpoint from a collection of components. - Path
-
A
struct
defining the path component for a given endpoint. - Response
-
A
struct
defining the response transformation. - Tuple3Item
-
A
struct
used to hold together partial blocks inside the endpoint builder. - TupleItem
-
A
struct
used to hold together partial blocks inside the endpoint builder. - AnyEncodable
-
A
struct
defining an instance capable of being parsed into some generic JSON file. - AnyDecodable
-
A
struct
defining an instance capable of parsing some generic JSON file. - Cellular
-
A
struct
defining whether the request for a given endpoint can run on cellular or not. Defaults totrue
. - Constrained
-
A
struct
defining whether the request for a given endpoint should run on a constrained network. Defaults totrue
. - Expensive
-
A
struct
defining whether the request for a given endpoint is considered expensive. Defaults totrue
. - Service
-
A
struct
defining the request network service type for a specific endpoint. /// Defaults to.default
. - Timeout
-
A
struct
defining when the request for a given endpoint can timeout. Defaults to60
. - Body
-
A
struct
defining the request body for a given endpoint. Defaults tonil
. - Headers
-
A
struct
defining the request headers for a given endpoint. Defaults to empty. - Method
-
A
struct
defining the request HTTP method for a given endpoint. - Query
-
A
struct
defining the query items for a given endpoint. Defaults to empty. - Catch
-
A
struct
defining a custom endpoint implementation handling a request generated by an error in the previous one. - Collect
-
A
struct
defining a custom endpoint implementation returning a wrapper for the reduced output of a loop endpoint. - First
-
A
struct
defining a custom endpoint implementation returning a wrapper for the first output of a loop endpoint. - FlatMap
-
A
struct
defining a custom endpoint implementation handling a request generated by the response of a previous one. - ForEach
-
A
struct
defining a custom endpoint implementation handling a sequence of requests. - HandleEvents
-
A
struct
defining a custom endpoint implementation handling success and failures of an existing one, without modifying them. - Last
-
A
struct
defining a custom endpoint implementation returning a wrapper for the last output of a loop endpoint. - Loop
-
A
struct
defining a custom endpoint implementation handling a paginated request. - Map
-
A
struct
defining a custom endpoint implementation handling an output generated from an existing one. - Prefix
-
A
struct
defining a custom endpoint implementation returning a wrapper for the firstcount
output of a loop endpoint. - Static
-
A
struct
defining some external value to appear inside an endpoint chain (e.g. returning a single value, returning an error, etc). - AnyLoopEndpoint
-
A
struct
defining a loop endpoint erasing all its transformations and mapping, similar toAnyPublisher
. - DefaultResponse
-
The default URL response.
- Providers.Lock
-
A
struct
defining an instance abstracting a lock, a padlock, requiring some key to be opened. - Providers.Offset
-
A
struct
defining an instance abstracting a page reference, identified by some bookmark. - AnyStorage
-
A
struct
defining a type-erased instance ofStorage
. - TransientStorage
-
A
struct
defining aStorage
avoiding caching all together. - UserDefaultsStorage
-
A
struct
defining aStorage
cachingItem
s inUserDefaults
. - UserDefaultsStorage.Iterator
-
A
struct
defining aUserDefaultsStorage
iterator.
Enumerations
- HTTPMethod
-
An
enum
listing allURLRequest
allowedhttpMethod
s. Defaults to.default
. - Endpoints
-
A module-like
enum
encapsulating all concreteEndpoint
implementations. - EndpointError
-
An
enum
listing all availableEndpoint
-related erros. - NextAction
-
An
enum
listing all possibleLoop
actions. - Providers
-
A module-like
enum
listing all providers.
Protocols
- Component
-
A
protocol
defining a unique identifier for a specific request component. - Storable
-
A
protocol
defining an instance capable of being turned into someData
, while being identified by someLabel
.
Typealiases
- Keychain
-
A
typealias
forKeychainAccess.Keychain
. - Accessibility
-
A
typealias
forKeychainAccess.Accessibility
. - AuthenticationPolicy
-
A
typealias
forKeychainAccess.AuthenticationPolicy
. - TupleEndpoint
-
The default
Tuple3Item
.
Functions
- resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Resolve the current endpoint.
- resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Resolve the current endpoint.
- resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Resolve the current endpoint.
- resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(_:)
-
Compose the
DefaultResponse
. - resolve(_:)
-
Compose the
DefaultResponse
. - resolve(_:)
-
Compose the
DefaultResponse
. - resolve(_:)
-
Compose the
DefaultResponse
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
. - resolve(with:)
-
Fetch the response, from a given
Input
andURLSession
.
Extensions
- CharacterSet
- Data
- Endpoint
- EndpointResolver
- HTTPCookiePropertyKey
- LockProvider
- LoopEndpoint
- OffsetProvider
- Provider
- SingleEndpoint
- Storage
- String