From 61cf0720f81e4e1dff0a856a4b42f8db84ab5410 Mon Sep 17 00:00:00 2001 From: Jaxon Carelos Date: Mon, 11 Mar 2024 13:11:28 -0600 Subject: [PATCH] Updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ba7648..191d9af 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ A Gleam HTTP service adapter for the Elli web server. import gleam/http/elli import gleam/http/request.{Request} import gleam/http/response.{Response} -import gleam/bit_builder.{BitBuilder} +import gleam/bytes_builder.{BytesBuilder} // Define a HTTP service // -pub fn my_service(req: Request(BitString)) -> Response(BitBuilder) { +pub fn my_service(req: Request(t)) -> Response(BytesBuilder) { let body = bit_builder.from_string("Hello, world!") response.new(200)