summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadREST/RESTNetworkOperation.swift
AgeCommit message (Collapse)AuthorFilesLines
2023-12-11Categorize files based on functionalitiesmojganii1-273/+0
2023-08-29Introduce RESTRequestExecutor to support async flowsAndrej Mihajlov1-3/+3
2023-08-28Introduce Duration type that mimicks native iOS16 DurationJon Petersson1-1/+1
2023-08-24Return RESTTransport from TransportProviderAndrej Mihajlov1-3/+2
Ensures that RESTTransport returns consistent values throughout execution and solves the following issues: - Dynamic implementation of RESTTransport implemented by TransportProvider may yield different values (i.e RESTTransport.name) when accessed at different times during network operation execution - Current implementation of RESTTransport on TransportProvider yields "TransportProvider" before the first call to sendRequest() which is not correct behavior becuase we always log the name of transport that's being used before sending request. - When starting the app with network link conditioner blocking traffic, TransportProvider seems to print "TransportProvider" indefinitely even after the first call to sendRequest().
2023-08-24Eliminate force unwrap of HTTPURLResponseAndrej Mihajlov1-45/+17
2023-06-27New swiftformat rule, enable google swift guidelinesBug Magnet1-3/+2
2023-06-20Enable reusing the shadowsocks connection once it is establishedBug Magnet1-32/+10
2023-05-29Introduce MullvadTransport and move Shadowsocks there, share ↵Bug Magnet1-2/+2
TransportProvider implementation
2023-05-22Reformat the code for Swift 5.8Andrej Mihajlov1-4/+4
2023-05-22Add shadowsocks-proxy crateEmīls1-27/+29
2023-04-12Add configuration to disable IP address cache for staging environmentAndrej Mihajlov1-2/+4
2023-02-28Replace OperationCompletion with ResultAndrej Mihajlov1-24/+23
Error is set to OperationError.cancelled if operation is cancelled.
2022-11-17REST: replace transport registry with transport provider closureAndrej Mihajlov1-3/+3
2022-11-07Add exponential backoff with jitterAndrej Mihajlov1-8/+23
2022-10-20Move REST into separate frameworksajacl1-0/+307