Skip to content

Commit 9c4f89a

Browse files
committed
docs: Document compression methods for web3 prociders
1 parent 8c7cc8b commit 9c4f89a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/config.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,12 @@ A `provider` is an object with the following characteristics:
134134
- `no_eip2718`: provider doesn't return the `type` field in transaction receipts
135135
(pre-EIP-2718 chains). When set, receipts are patched to add
136136
`"type": "0x0"` for legacy transaction compatibility.
137+
- `compression/<method>`: provider supports compression for RPC requests,
138+
where `<method>` is the compression method supported by the provider,
139+
one of `gzip`, `brotli`, `deflate`, or `none` (the default).
137140

138141
For Firehose providers: `compression` and `filters`
142+
139143
- `headers`: HTTP headers to be added on every request. Defaults to none.
140144
- `limit`: the maximum number of subgraphs that can use this provider.
141145
Defaults to unlimited. At least one provider should be unlimited,

0 commit comments

Comments
 (0)