Add support for maxResponseSize and maxCompressedResponseSize (#1551)
This commit is contained in:
committed by
GitHub
parent
f7b653dff6
commit
212c3c4ffe
4
lib/Transport.d.ts
vendored
4
lib/Transport.d.ts
vendored
@ -61,6 +61,8 @@ interface TransportOptions {
|
||||
generateRequestId?: generateRequestIdFn;
|
||||
name?: string;
|
||||
opaqueIdPrefix?: string;
|
||||
maxResponseSize?: number;
|
||||
maxCompressedResponseSize?: number;
|
||||
}
|
||||
|
||||
export interface RequestEvent<TResponse = Record<string, any>, TContext = Context> {
|
||||
@ -113,6 +115,8 @@ export interface TransportRequestOptions {
|
||||
context?: Context;
|
||||
warnings?: string[];
|
||||
opaqueId?: string;
|
||||
maxResponseSize?: number;
|
||||
maxCompressedResponseSize?: number;
|
||||
}
|
||||
|
||||
export interface TransportRequestCallback {
|
||||
|
||||
Reference in New Issue
Block a user