{"id":19705592,"url":"https://github.com/mesosphere-backup/http-service","last_synced_at":"2025-10-16T15:24:36.987Z","repository":{"id":46937992,"uuid":"108147297","full_name":"mesosphere-backup/http-service","owner":"mesosphere-backup","description":"Wraps connections managed by the `@dcos/connection-manager` package into an Observable.","archived":false,"fork":false,"pushed_at":"2022-12-08T22:35:54.000Z","size":418,"stargazers_count":2,"open_issues_count":21,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-30T05:25:28.799Z","etag":null,"topics":["http","observable","request","rxjs","stream"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mesosphere-backup.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":"2017-10-24T15:31:56.000Z","updated_at":"2020-06-29T14:02:20.000Z","dependencies_parsed_at":"2023-01-25T15:15:12.382Z","dependency_job_id":null,"html_url":"https://github.com/mesosphere-backup/http-service","commit_stats":null,"previous_names":["dcos-labs/http-service"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/mesosphere-backup/http-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesosphere-backup%2Fhttp-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesosphere-backup%2Fhttp-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesosphere-backup%2Fhttp-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesosphere-backup%2Fhttp-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mesosphere-backup","download_url":"https://codeload.github.com/mesosphere-backup/http-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesosphere-backup%2Fhttp-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274113001,"owners_count":25224332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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":["http","observable","request","rxjs","stream"],"created_at":"2024-11-11T21:29:16.914Z","updated_at":"2025-10-16T15:24:36.909Z","avatar_url":"https://github.com/mesosphere-backup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Service [![Build Status](https://travis-ci.org/dcos-labs/http-service.svg?branch=master)](https://travis-ci.org/dcos-labs/http-service)\n\n---\n👩‍🔬  Please be aware that this package is still experimental —\nchanges to the interface  and underlying implementation are likely,\nand future development or maintenance is not guaranteed.\n\n---\n\nThis package wraps connections managed by the `@dcos/connection-manager` package into an Observable.\n\n## Usage\n```javascript\nimport { request, stream } from \"@dcos/http-service\";\n\nrequest(\"http://localhost:4200/payload.json\")\n  .retry(3)\n  .subscribe({\n    next: ({ code, message, response }) =\u003e console.log(code, message, response),\n    error: ({ code, message, response }) =\u003e console.error(code, message, response),\n    complete: () =\u003e console.log(\"complete\")\n  });\n\nstream(\"http://localhost:4200/mesos/api/v1\", {\n  method: \"POST\",\n  responseType: \"text\",\n  body: JSON.stringify({ type: \"SUBSCRIBE\" }),\n  headers: {\n    \"Content-Type\": \"application/json\",\n    \"Accept\": \"application/json\"\n  }\n})\n  .subscribe({\n    next: data =\u003e console.log(data),\n    error: event =\u003e console.log(event),\n    complete: () =\u003e console.log(\"complete\")\n  });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesosphere-backup%2Fhttp-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesosphere-backup%2Fhttp-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesosphere-backup%2Fhttp-service/lists"}