diff --git a/docs/src/api/class-route.md b/docs/src/api/class-route.md index 4c098d8a04..745d8876d6 100644 --- a/docs/src/api/class-route.md +++ b/docs/src/api/class-route.md @@ -154,10 +154,23 @@ Response headers. Header values will be converted to a string. If set, equals to setting `Content-Type` response header. ### option: Route.fulfill.body +* langs: js, python - `body` <[string]|[Buffer]> Response body. +### option: Route.fulfill.body +* langs: csharp, java +- `body` <[string]> + +Optional response body as text. + +### option: Route.fulfill.bodyBytes +* langs: csharp, java +- `bodyBytes` <[Buffer]> + +Optional response body as raw bytes. + ### option: Route.fulfill.path - `path` <[path]>