Skip to content

Commit

Permalink
cherry-pick(#19532): docs: remove Serializable from Route.*.postData …
Browse files Browse the repository at this point in the history
…in java (#19533)
  • Loading branch information
yury-s committed Dec 16, 2022
1 parent 0cf3ec2 commit 00895e3
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions docs/src/api/class-route.md
Expand Up @@ -114,11 +114,18 @@ If set changes the request method (e.g. GET or POST).

### option: Route.continue.postData
* since: v1.8
* langs: js, python, java
* langs: js, python
- `postData` <[string]|[Buffer]|[Serializable]>

If set changes the post data of request.

### option: Route.continue.postData
* since: v1.8
* langs: java
- `postData` <[string]|[Buffer]>

If set changes the post data of request.

### option: Route.continue.postData
* since: v1.8
* langs: csharp
Expand Down Expand Up @@ -390,11 +397,18 @@ If set changes the request method (e.g. GET or POST).

### option: Route.fallback.postData
* since: v1.23
* langs: js, python, java
* langs: js, python
- `postData` <[string]|[Buffer]|[Serializable]>

If set changes the post data of request.

### option: Route.fallback.postData
* since: v1.23
* langs: java
- `postData` <[string]|[Buffer]>

If set changes the post data of request.

### option: Route.fallback.postData
* since: v1.23
* langs: csharp
Expand Down Expand Up @@ -481,14 +495,21 @@ If set changes the request URL. New URL must have same protocol as original one.
If set changes the request method (e.g. GET or POST).

### option: Route.fetch.postData
* langs: js, python, java
* langs: js, python
* since: v1.29
- `postData` <[string]|[Buffer]|[Serializable]>

Allows to set post data of the request. If the data parameter is an object, it will be serialized to json string
and `content-type` header will be set to `application/json` if not explicitly set. Otherwise the `content-type` header will be
set to `application/octet-stream` if not explicitly set.

### option: Route.fetch.postData
* langs: java
* since: v1.29
- `postData` <[string]|[Buffer]>

If set changes the post data of request.

### option: Route.fetch.postData
* since: v1.29
* langs: csharp
Expand Down

0 comments on commit 00895e3

Please sign in to comment.