You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Generate a fresh network session by duplicating the existing configuration and network parameters, while also including additional headers to be attached to every API call.
@@ -84,6 +93,7 @@ export class NetworkSession {
84
93
agentOptions: this.agentOptions,
85
94
proxyConfig: this.proxyConfig,
86
95
networkClient: this.networkClient,
96
+
retryStrategy: this.retryStrategy,
87
97
});
88
98
}
89
99
/**
@@ -100,6 +110,7 @@ export class NetworkSession {
100
110
agentOptions: this.agentOptions,
101
111
proxyConfig: this.proxyConfig,
102
112
networkClient: this.networkClient,
113
+
retryStrategy: this.retryStrategy,
103
114
});
104
115
}
105
116
/**
@@ -116,6 +127,7 @@ export class NetworkSession {
116
127
agentOptions: this.agentOptions,
117
128
proxyConfig: this.proxyConfig,
118
129
networkClient: this.networkClient,
130
+
retryStrategy: this.retryStrategy,
119
131
});
120
132
}
121
133
/**
@@ -132,6 +144,7 @@ export class NetworkSession {
132
144
agentOptions: this.agentOptions,
133
145
proxyConfig: this.proxyConfig,
134
146
networkClient: this.networkClient,
147
+
retryStrategy: this.retryStrategy,
135
148
});
136
149
}
137
150
/**
@@ -148,6 +161,7 @@ export class NetworkSession {
148
161
agentOptions: this.agentOptions,
149
162
proxyConfig: proxyConfig,
150
163
networkClient: this.networkClient,
164
+
retryStrategy: this.retryStrategy,
151
165
});
152
166
}
153
167
/**
@@ -164,6 +178,24 @@ export class NetworkSession {
164
178
agentOptions: this.agentOptions,
165
179
proxyConfig: this.proxyConfig,
166
180
networkClient: networkClient,
181
+
retryStrategy: this.retryStrategy,
182
+
});
183
+
}
184
+
/**
185
+
* Generate a fresh network session by duplicating the existing configuration and network parameters, while also applying retry strategy
0 commit comments