Mapa mental
NetworkLayer Architecture 1
Conteúdo do mapa
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
Informações
- Descrição
- https://medium.com/flawless-app-stories/writing-network-layer-in-swift-protocol-oriented-approach-4fa40ef1f908
- Criado por
- bathant hegazy
- Visualizações
- 1
- Avaliação