Storage Documentation

Classes

Codable​HTTPCookie

A subclass of HTTPCookie conforming to Codable.

Atomic

A class defining an atomic reference to some value.

Reference

A class defining a reference-typed rapper for some value.

Structures

Logger.​Level

An enum-like struct listing the different levels of logging.

Logger

A struct defining an instance handling Request logs.

Request.​Response

A struct defining the associated response type.

Request

A struct defining a declerateive request stream.

Wrapper

A struct defining a generic and abstract Codable value.

Keychain​Storage

A struct defining a Storage caching Items safely inside the user's Keychain.

Providers.​Lock

A struct defining an authenticator.

Providers.​Offset

A struct defining a page offseter.

Providers.​Requester

A struct defining a requester provider.

Receivables.​Flat​Map

A struct defining a requestable flat mapper.

Receivables.​Flat​Map​Error

A struct defining a requestable flat mapper for failures.

Receivables.​Future

A struct defining a future receivable.

Receivables.​If

A struct defining a requestable conditional statement.

Receivables.​Map

A struct defining a requestable mapper.

Receivables.​Map​Error

A struct defining a requestable mapper for failures.

Receivables.​Once

A struct defining a Requester-based receivable receiving immediately either a success or failure.

Pages.​Input

A struct defining a pager's setup.

Receivables.​Pager

A struct defining a requestable pager.

Receivables.​Print

A struct defining a requestable printer.

Receivables.​Requested

A struct defining a type-erased, Requester-based receivable.

Receivables.​Switch

A struct defining a requestable switcher.

URLSession​Async​Requester.​Input

A struct defining a valid requester input.

URLSession​Async​Requester.​Response

A struct defining the output for a URLSessionAsyncRequester.

URLSession​Async​Requester

A struct defining a concrete implementation of Requester through structured cuncurrency.

URLSession​Combine​Requester.​Input

A struct defining a valid requester input.

URLSession​Combine​Requester.​Response

A struct defining the output for a URLSessionCombineRequester.

URLSession​Combine​Requester

A struct defining a concrete implementation of Requester with Combine.

URLSession​Completion​Requester.​Input

A struct defining a valid requester input.

URLSession​Completion​Requester.​Response

A struct defining the output for a URLSessionCompletionRequester.

URLSession​Completion​Requester

A struct defining a concrete implementation of Requester through completion handlers.

Any​Storage

A struct defining a type-erased Storage.

Transient​Storage

A struct defining a Storage avoiding caching all together.

User​Defaults​Storage

A struct defining a Storage caching Items inside UserDefaults.

Enumerations

HTTPMethod

An enum listing all URLRequest allowed httpMethods.

Logger.​Level.​Request

A module-like enum defining request-based Levels.

Logger.​Level.​Response

A module-like enum defining response-based Levels.

Request.​Error

An enum listing error values.

Providers

A module-like enum listing all providers.

Pages

A module-like enum listing all pager receivables support definitions.

Pages.​Instruction

An enum listing a pager available instructions.

Receivables

A module-like enum listing all available receivables.

Protocols

Body

A protocol describing an instance providing the body of a URLRequest.

Header

A protocol describing an instance providing the header fields of a URLRequest.

Method

A protocol describing an instance providing the method of a URLRequest.

Path

A protocol describing an instance providing the URL to some resouce in a URLRequest.

Query

A protocol describing an instance providing the query items of a URLRequest.

Timeout

A protocol describing an instace providing the timeout interval for a URLRequest.

Composable​Non​Nil​Type

A protocol defining a ComposableRequest abstraction for nil-checking Optionals.

Composable​Optional​Type

A protocol defining a ComposableRequest abtrasction into Optional.

URLComponents​Representable

A protcol defining a URLComponents generator.

URLRepresentable

A protocol defining a URL generator.

URLRequest​Representable

A protocol defining a URLRequest generator.

Wrappable

A protocol allowing to init Wrappers.

Wrapped

A protocol defining a type initiable through Response.

Provider

A protocol defining a value provider.

Lock​Provider

A protocol defining a provider lock type.

Offset​Provider

A protocol defining a provider offset type.

Requester​Provider

A protocol defining a provider requester type.

Receivable

A protocol defining an instance returned by a Requester.

Pager​Input

A protocol defining an instance providing basic support for setting up a pager.

Paginatable

A protocol defining an instance capable of being paginated.

URLSession​Async​Mock​Receivable

A protocol defining a mock URLSessionAsyncReceivable.

URLSession​Async​Receivable
URLSession​Combine​Mock​Receivable

A protocol defining a mock URLSessionCombineReceivable.

URLSession​Combine​Receivable
URLSession​Completion​Mock​Receivable

A protocol defining a mock URLSessionCompletionReceivable.

URLSession​Completion​Receivable

A protocol defining a generic completion receivable.

Requester

A protocol defining an instance capable of initiating network Requests.

Requester​Input

A protocol defining the input for a Requester.

Non​Throwing​Storage

A protocol defining an instance capable of caching Storables.

Storable

A protocol defining an instance capable of being turned into some Data, while being identified by some String.

Storage

A protocol defining an instance capable of caching Storables.

Throwing​Storage

A protocol defining an instance capable of caching Storables.

Typealiases

Keychain

A typealias for KeychainAccess.Keychain.

Accessibility

A typealias for KeychainAccess.Accessibility.

Authentication​Policy

A typealias for KeychainAccess.AuthenticationPolicy.

Extensions

Array
Bool
CharacterSet
Data
Dictionary
Double
Float
HTTPCookiePropertyKey
Int
NSNull
Optional
String
URL
URLComponents
URLRequest