Skip to content

Commit

Permalink
Mirror typed-rest-client options (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriiBobreshev authored Aug 7, 2024
1 parent 8efd232 commit be525f3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions api/interfaces/common/VsoBaseInterfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,20 @@ export interface IHttpClientResponse {
}

export interface IRequestOptions {
headers?: IHeaders;
socketTimeout?: number;
ignoreSslError?: boolean;
proxy?: IProxyConfiguration;
cert?: ICertConfiguration;
allowRetries?: boolean;
maxRetries?: number;
allowRedirects?: boolean;
allowRedirectDowngrade?: boolean;
maxRedirects?: number;
maxSockets?: number;
keepAlive?: boolean;
presignedUrlPatterns?: RegExp[];
// Allows retries only on Read operations (since writes may not be idempotent)
allowRetries?: boolean;
maxRetries?: number;
}

export interface IProxyConfiguration {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "azure-devops-node-api",
"description": "Node client for Azure DevOps and TFS REST APIs",
"version": "14.0.1",
"version": "14.0.2",
"main": "./WebApi.js",
"types": "./WebApi.d.ts",
"scripts": {
Expand Down

0 comments on commit be525f3

Please sign in to comment.