{"id":32305289,"url":"https://github.com/dart-pacotes/networking","last_synced_at":"2026-02-22T15:34:48.508Z","repository":{"id":56744061,"uuid":"492993487","full_name":"dart-pacotes/networking","owner":"dart-pacotes","description":"A general purpose HTTP Client for Dart, that is typed and error free. Soon to support WebSockets!","archived":false,"fork":false,"pushed_at":"2022-10-17T18:51:29.000Z","size":164,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-11T10:39:31.726Z","etag":null,"topics":["dart","flutter","hacktoberfest","http"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dart-pacotes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-16T20:42:25.000Z","updated_at":"2023-07-28T17:01:03.000Z","dependencies_parsed_at":"2022-08-16T01:20:09.453Z","dependency_job_id":null,"html_url":"https://github.com/dart-pacotes/networking","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dart-pacotes/networking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-pacotes%2Fnetworking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-pacotes%2Fnetworking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-pacotes%2Fnetworking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-pacotes%2Fnetworking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dart-pacotes","download_url":"https://codeload.github.com/dart-pacotes/networking/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dart-pacotes%2Fnetworking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29717422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T15:10:41.462Z","status":"ssl_error","status_checked_at":"2026-02-22T15:10:04.636Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dart","flutter","hacktoberfest","http"],"created_at":"2025-10-23T06:49:07.041Z","updated_at":"2026-02-22T15:34:48.501Z","avatar_url":"https://github.com/dart-pacotes.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# networking\n\nA general purpose HTTP Client for Dart, that is typed and error free.\n\n## How to use\n\nUsing the networking client for consuming GitHub Raw API, it is as simple as:\n\n```dart\nfinal repository = NetworkingGitHubRepository(\n    user: 'dart-pacotes',\n    repoId: 'networking',\n    branch: 'master',\n);\n\n// Create networking client that interacts with GitHub Raw API\nfinal networkingClient = RawGitHubNetworkingClient(\nrepository: repository,\n);\n\nfinal endpoint = 'README.md';\n\n// Get README.md content\nfinal getEndpointResult = await networkingClient.get(endpoint: endpoint);\n\n// Tadaaaam!\nprint(getEndpointResult);\n```\n\n## Features\n\nSo far, the package offers an HTTP client that works on top of dart `http` package, providing support for `GET`, `POST`, `PUT`, `DELETE` and `PATCH` methods. There is typing for request errors and responses for most of the general used content-types.\n\nOut-of-the-box it provides a client for consuming **GitHub Raw API** and **Imgur REST API**.\n\n## Missing features\n\nThese are some of the features that live in the package backlog:\n\n- **Middleware** for HTTP requests and responses\n- **WebSocket** integration\n\n## Side Effects\n\nPowered by Dart null sound + [`dartz`](https://pub.dev/packages/dartz) monads, this package is free of null issues and side effects. This is to prevent the throw of any exception that may not be known and caught by developers, and to make sure that information is consistent by contract.\n\n---\n\n### Bugs and Contributions\n\nFound any bug (including typos) in the package? Do you have any suggestion or feature to include for future releases? Please create an issue via GitHub in order to track each contribution. Also, pull requests are very welcome!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-pacotes%2Fnetworking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdart-pacotes%2Fnetworking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdart-pacotes%2Fnetworking/lists"}