Skip to content

Commit

Permalink
docs: ingress to mention required import (#1780)
Browse files Browse the repository at this point in the history
  • Loading branch information
gak authored Jun 14, 2024
1 parent 8245b90 commit 3beaca4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/content/docs/reference/ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ func Get(ctx context.Context, req builtin.HttpRequest[GetRequest]) (builtin.Http

> **NOTE!**
> The `req` and `resp` types of HTTP `ingress` [verbs](../verbs) must be `builtin.HttpRequest` and `builtin.HttpResponse` respectively. These types provide the necessary fields for HTTP `ingress` (`headers`, `statusCode`, etc.)
>
> You will need to import `ftl/builtin`.
Key points to note

Expand Down

0 comments on commit 3beaca4

Please sign in to comment.