Estructura inicial del proyecto

This commit is contained in:
2026-06-02 16:57:08 +00:00
commit 8b306b9afc
9864 changed files with 1435687 additions and 0 deletions

View File

@ -0,0 +1,59 @@
import type { HttpClient, PipelineOptions } from "@azure/core-rest-pipeline";
import type { AdditionalPolicyConfig } from "@azure-rest/core-client";
/**
* The common set of options that high level clients are expected to expose.
*/
export interface CommonClientOptions extends PipelineOptions {
/**
* The HttpClient that will be used to send HTTP requests.
*/
httpClient?: HttpClient;
/**
* Set to true if the request is sent over HTTP instead of HTTPS
*/
allowInsecureConnection?: boolean;
/**
* Additional policies to include in the HTTP pipeline.
*/
additionalPolicies?: AdditionalPolicyConfig[];
}
/**
* Options for keep alive behavior of HTTP connections.
*/
export interface KeepAliveOptions {
/**
* When true, connections will be kept alive for multiple requests.
* Defaults to true.
*/
enable?: boolean;
}
/**
* Options for how redirect responses are handled.
*/
export interface RedirectOptions {
/**
* When true, redirect responses are followed. Defaults to true.
*/
handleRedirects?: boolean;
/**
* The maximum number of times the redirect URL will be tried before
* failing. Defaults to 20.
*/
maxRetries?: number;
}
/**
* Extended common client options that include keep alive and redirect options.
* This type combines the standard CommonClientOptions with additional options
* for controlling HTTP connection keep-alive and redirect behavior.
*/
export type ExtendedCommonClientOptions = CommonClientOptions & {
/**
* Options to configure keep alive behavior for HTTP connections.
*/
keepAliveOptions?: KeepAliveOptions;
/**
* Options to configure how redirect responses are handled.
*/
redirectOptions?: RedirectOptions;
};
//# sourceMappingURL=extendedClientOptions.d.ts.map