Skip to content

Commit

Permalink
Update documentation POD
Browse files Browse the repository at this point in the history
  • Loading branch information
rawleyfowler authored Apr 23, 2023
1 parent 69b0b68 commit 2b82a87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Humming-Bird/Core.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,9 @@ I recommend NGiNX. This is why TLS is not implemented.
Register an HTTP route, and a C<Block> that takes a Request and a Response.
It is expected that the route handler returns a valid C<Response>, in this case C<.html> returns
the response object for easy chaining. There is no built in body parsers, so you'll have to
convert bodies with another library, JSON::Fast is a good option for JSON!
the response object for easy chaining. Bodies of requests can be parsed using C<.content> which
will attempt to parse the request based on the content-type, this only supports JSON and urlencoded
requests at the moment.
=head3 group
Expand Down

0 comments on commit 2b82a87

Please sign in to comment.