Protocols
The following protocols are available globally.
-
Protocol model should atleast be Decodable
Declaration
Swift
public protocol Model : Decodable
-
Protocol for a ModelStore that should have a network service
See moreDeclaration
Swift
public protocol ModelStore
-
This defines the basic information of an endpoint
See moreDeclaration
Swift
public protocol NetworkEndpoint
-
This defines an endpoint of type GET
See moreDeclaration
Swift
public protocol HTTPGetEndPoint : NetworkEndpoint
-
This defines an endpoint of HTTP/Form Post
See moreDeclaration
Swift
public protocol HTTPPostEndPoint : NetworkEndpoint
-
To provide the functionality which actually handles the network calls
See moreDeclaration
Swift
public protocol NetworkService : AnyObject
-
Network server information and configuration
See moreDeclaration
Swift
public protocol ServerInfo
-
Provide Stubbed responses for any Endpoint
See moreDeclaration
Swift
public protocol StubbedEndpoint : NetworkEndpoint