Mind map
NetworkLayer Architecture 1
Map content
NetworkLayer Architecture 1
- environment : enum Router : Router inside it all the function login sign up get movies .....
·
- Implement NetworkRouter : Protocol
- -Endpoint : Associated Types -Request : call Build Request execute the request -Cancel Request
- Build Request : Function
- responsible for build URLRequest from Endpoint Endpoint
- Use : EndPoint
- url : String headers : [String : String] htttpTask : it's used in n parameters encoding
- Implement NetworkRouter : Protocol
Information
- Description
- https://medium.com/flawless-app-stories/writing-network-layer-in-swift-protocol-oriented-approach-4fa40ef1f908
- Created by
- bathant hegazy
- Views
- 1
- Rating