NetworkActionType
enum NetworkActionType
extension NetworkActionType : CaseIterable, Equatable, Hashable
Undocumented
-
ActionBlocks are a named type of Network Operation that can be invoked from anywhere in the lifecycle of an application. They must have both type ActionBlock and they must have an actionName property associated with them in order to be used
Declaration
Swift
case ActionBlock
-
This type of network action is for inbound requests (queries, GET, INFO calls, etc) the idea here is that the network action should be immutable and not make any changes
Declaration
Swift
case Inbound
-
This type of network action is bidirection and this can happen often in GraphQL, it indicates, more specifically in this context, that the corresponding
NetWorkAction
will be invoked both on the inbound and outbound life cycleDeclaration
Swift
case InboundOutbound
-
This type of network action is for outbound requests. Incoming data is not expected and the general use of this network action tends to be mutable in nature
Declaration
Swift
case Outbound