{"id":19454804,"url":"https://github.com/fancellu/play-sttp-examples","last_synced_at":"2026-05-13T22:35:33.626Z","repository":{"id":71450803,"uuid":"224219658","full_name":"fancellu/play-sttp-examples","owner":"fancellu","description":"Some examples of using sttp \"the Scala HTTP client you always wanted!\" plus usage of Tor socks proxy","archived":false,"fork":false,"pushed_at":"2019-12-09T18:38:49.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T10:32:55.262Z","etag":null,"topics":["play-framework","socks","sttp","tor"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/fancellu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-26T15:04:47.000Z","updated_at":"2019-12-09T18:38:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"acd410c0-1b47-491d-8696-e69aed3cf85c","html_url":"https://github.com/fancellu/play-sttp-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fancellu/play-sttp-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-sttp-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-sttp-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-sttp-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-sttp-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fancellu","download_url":"https://codeload.github.com/fancellu/play-sttp-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fancellu%2Fplay-sttp-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33002839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"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":["play-framework","socks","sttp","tor"],"created_at":"2024-11-10T17:12:05.216Z","updated_at":"2026-05-13T22:35:33.611Z","avatar_url":"https://github.com/fancellu.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# play-sttp-examples\n\nSome examples using sttp  \"the Scala HTTP client you always wanted!\"\n\nhttps://sttp.readthedocs.io/\n\nWe also show the use of a Tor socks proxy\n\n## To run\n\n`sbt run`\n\nPoint your browser at `localhost:9000`\n\nBy default the socks proxy is not used, so /poke page will say \"proxyEnabled=false\" at the top\n\n## Endpoints\n\nGET     /                                                          controllers.AsyncHttpClientFutureController.index\n\nGET     /asyncHttpClientFutureController/poke                      controllers.AsyncHttpClientFutureController.poke\n\nGET     /asyncHttpClientFutureController/post                      controllers.AsyncHttpClientFutureController.post\n\n\n\nGET     /httpURLConnectionController/poke                          controllers.HttpURLConnectionController.poke\n\nGET     /httpURLConnectionController/post                          controllers.HttpURLConnectionController.post\n\n\n\nAlso some non play Apps, inside playpen\n\nplaypen.TryURLConnection\n\nplaypen.sttp.TryHttpURLConnectionBackend\n\nplaypen.sttp.TryAsyncHttpClientFutureBackend\n\n## Tor\n\nBy default the socks proxy is not used, look inside application.conf, and change socksport and proxyEnabled\n\n(localhost/9050 is for the Tor standalone socks proxy, 9150 if you rely on the Tor browser proxy) \n\nDon't point your browser at localhost:9050 or 9150, or you'll be talking to the Tor Proxy and getting \nwarnings like \"this is a SOCKs proxy, not an HTTP proxy\"\n\nHow to install Tor and create Tor hidden service on Windows\n\nhttps://miloserdov.org/?p=1839\n\nhttps://www.techwalla.com/articles/how-to-use-tor-proxy","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fplay-sttp-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffancellu%2Fplay-sttp-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffancellu%2Fplay-sttp-examples/lists"}