Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxoncarelos authored and lpil committed Mar 12, 2024
1 parent 51d66f1 commit 61cf072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 61cf072

Please sign in to comment.