Skip to content

Commit fc4335d

Browse files
committed
Document the new net/grpc's authority param
1 parent 778c331 commit fc4335d

File tree

1 file changed

+1
-0
lines changed
  • docs/sources/k6/next/javascript-api/k6-net-grpc

1 file changed

+1
-0
lines changed

docs/sources/k6/next/javascript-api/k6-net-grpc/params.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ _Params_ is an object used by the gRPC methods that generate RPC requests. _Para
1313

1414
| Name | Type | Description |
1515
| ------------------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
16+
| `Params.authority` | string | Specifies the value of the :authority pseudo-header and as the server name in authentication handshake. If missing this is derived from the hostname. |
1617
| `Params.discardResponseMessage` | boolean | Specify if response messages should be discarded. This reduces the amount of memory required, and the amount of garbage collection, which reduces the load on the testing machine and can help produce more reliable test results. Default is `false`. |
1718
| `Params.metadata` | object | Object with key-value pairs representing custom metadata the user would like to add to the request. Values of [keys ending with `-bin`](https://grpc.io/docs/what-is-grpc/core-concepts/#metadata) will be treated as binary data. |
1819
| `Params.tags` | object | Key-value pairs where the keys are names of tags and the values are tag values. Response time metrics generated as a result of the request will have these tags added to them, allowing the user to filter out those results specifically, when looking at results data. |

0 commit comments

Comments
 (0)