{"id":22880147,"url":"https://github.com/inderjagdeo/networkmanager-with-combine","last_synced_at":"2026-06-29T03:30:56.584Z","repository":{"id":175883235,"uuid":"569126646","full_name":"InderJagdeo/NetworkManager-With-Combine","owner":"InderJagdeo","description":"A simple network manager class with URL Session \u0026 Combine framework to get, post, put, and delete data on the server in swift language.","archived":false,"fork":false,"pushed_at":"2023-09-15T05:49:16.000Z","size":36,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T15:33:18.107Z","etag":null,"topics":["combine-framework","ios","ios-swift","netowrk-layer","network-request","swift","url-session"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InderJagdeo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-11-22T06:15:34.000Z","updated_at":"2024-02-05T12:11:38.000Z","dependencies_parsed_at":"2023-07-09T14:01:44.618Z","dependency_job_id":"60bc9de6-39a7-4a31-bbd2-ed72a32ad04b","html_url":"https://github.com/InderJagdeo/NetworkManager-With-Combine","commit_stats":null,"previous_names":["inderjagdeo/networklayer","inderjagdeo/networkmanager-with-combine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InderJagdeo/NetworkManager-With-Combine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InderJagdeo%2FNetworkManager-With-Combine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InderJagdeo%2FNetworkManager-With-Combine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InderJagdeo%2FNetworkManager-With-Combine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InderJagdeo%2FNetworkManager-With-Combine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InderJagdeo","download_url":"https://codeload.github.com/InderJagdeo/NetworkManager-With-Combine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InderJagdeo%2FNetworkManager-With-Combine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34912252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["combine-framework","ios","ios-swift","netowrk-layer","network-request","swift","url-session"],"created_at":"2024-12-13T17:16:33.363Z","updated_at":"2026-06-29T03:30:56.565Z","avatar_url":"https://github.com/InderJagdeo.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NetworkLayer\n\n![NetworkManager](https://github.com/InderJagdeo/NetworkManager-With-Combine/assets/29178012/16dee0f1-c521-4ff4-8743-4db18c3a030a)\n\n\nA simple network manager class with URL Session \u0026 Combine framework to get, post, put, and delete data on the server in swift language.\n\n## How to use NetworkManager.swift\n\nCreate NetworkManager.swift class instance in your ViewControler.swift class. \n\n```bash\n  let networkManager = NetworkManager()\n  var subscriptions = Set\u003cAnyCancellable\u003e()\n```\n\nCreate your URL request and call request method with your URL request.\n```bash\n   let request = CountryRequest()\n   networkManager.request(request)\n      .sink { (completion) in\n          switch completion {\n              case .failure(let error):\n                  print(\"Error: \\(error.localizedDescription)\")\n              case .finished:\n                  print(\"Finished\")\n              }\n        } receiveValue: { (countries) in\n           print(\"Number of countries - \\(countries.count) countries\")\n        }\n        .store(in: \u0026subscriptions)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finderjagdeo%2Fnetworkmanager-with-combine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finderjagdeo%2Fnetworkmanager-with-combine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finderjagdeo%2Fnetworkmanager-with-combine/lists"}