GoConqr has a new look! Let us know what you think.

Mind map

NetworkLayer Architecture 1

bathant hegazy English

Map content

NetworkLayer Architecture 1

  • environment : enum Router : Router   inside it all the function  login  sign up  get movies ..... 
  1. ·

    • 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 

Information

Description
https://medium.com/flawless-app-stories/writing-network-layer-in-swift-protocol-oriented-approach-4fa40ef1f908
Created by
bathant hegazy
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?