[Feature] Communications #4
Reference in New Issue
Block a user
Delete Branch "feature/remote"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR constains the work done to define the necessary protocols and enumerations to start defining remote API service as well as an implementation of the
URLProtocolto mock requests and responses when using theURLSessionto make remote calls.To provide further details about this work:
Communicationslibrary in thePackagefile;Packagefile to support the async/await feature;HTTPRequestMethodandHTTPResponseCodepublic enumerations;EndpointandClientpublic protocols;MakeURLRequestUseCaseuse case;MockURLProtocolclass that mocks requests and responses onURLSessioninstances;READMEfile.