{"id":55790,"library":"http4s-dsl-2-13","title":"http4s DSL","description":"http4s DSL provides a concise, type-safe DSL for defining HTTP services and routes in Scala.","status":"active","version":"0.23.33","language":"java","source_language":null,"source_url":"https://github.com/http4s/http4s","tags":["http4s","dsl","http","scala","functional","cats-effect"],"install":[{"cmd":"<dependency>\n  <groupId>org.http4s</groupId>\n  <artifactId>http4s-dsl_2.13</artifactId>\n  <version>0.23.33</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.http4s:http4s-dsl_2.13:0.23.33'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"io","correct":"org.http4s.dsl.io._"}],"quickstart":{"code":"import org.http4s.dsl.io._\nimport org.http4s.HttpRoutes\nimport cats.effect.IO\n\nval routes = HttpRoutes.of[IO] {\n  case GET -> Root / \"hello\" / name =>\n    Ok(s\"Hello, $name!\")\n}","lang":"java","description":"Define a simple HTTP route using http4s DSL."},"warnings":[{"fix":"Learn cats-effect basics or use http4s with other effect types like ZIO.","message":"http4s DSL uses cats-effect IO; requires familiarity with functional programming and effect systems.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'cat':26 'cats-effect':25 'concis':7 'defin':13 'dsl':2,4,11,21 'effect':27 'function':24 'http':14,22 'http4s':1,3,20 'provid':5 'rout':17 'safe':10 'scala':19,23 'servic':15 'type':9 'type-saf':8","created_at":"2026-06-15T10:07:27.366460+00:00","updated_at":"2026-06-15T10:07:27.366460+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://http4s.org/","github":"https://github.com/http4s/http4s","docs":"https://appdoc.app/artifact/org.http4s/http4s-dsl_2.13/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}