NetworkInput
protocol NetworkInput : AnyObject
NetworkInput objects contain the data we plan to pass to an invocation of of NetworkOperation.operation() closures.
The base class codifies no data itself, but the pattern is to provide a
var input
of whatever main type of data the subclass is providing.
-
inputType
Default implementationA mapping to the expected type of data supported by NetworkInput
Default Implementation
Setting a default value for all protocols that do not override.
Declaration
Swift
var inputType: NetworkInputType { get }