mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-19 13:08:27 +02:00
feat: add @actions/cache
This commit is contained in:
parent
b15fb7d098
commit
16e8c96a41
1932 changed files with 261172 additions and 10 deletions
21
node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.d.ts
generated
vendored
Normal file
21
node_modules/@azure/ms-rest-js/es/lib/policies/userAgentPolicy.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
import { HttpOperationResponse } from "../httpOperationResponse";
|
||||
import { WebResourceLike } from "../webResource";
|
||||
import { getDefaultUserAgentKey } from "./msRestUserAgentPolicy";
|
||||
import { BaseRequestPolicy, RequestPolicy, RequestPolicyFactory, RequestPolicyOptionsLike } from "./requestPolicy";
|
||||
export declare type TelemetryInfo = {
|
||||
key?: string;
|
||||
value?: string;
|
||||
};
|
||||
export declare const getDefaultUserAgentHeaderName: typeof getDefaultUserAgentKey;
|
||||
export declare function getDefaultUserAgentValue(): string;
|
||||
export declare function userAgentPolicy(userAgentData?: TelemetryInfo): RequestPolicyFactory;
|
||||
export declare class UserAgentPolicy extends BaseRequestPolicy {
|
||||
readonly _nextPolicy: RequestPolicy;
|
||||
readonly _options: RequestPolicyOptionsLike;
|
||||
protected headerKey: string;
|
||||
protected headerValue: string;
|
||||
constructor(_nextPolicy: RequestPolicy, _options: RequestPolicyOptionsLike, headerKey: string, headerValue: string);
|
||||
sendRequest(request: WebResourceLike): Promise<HttpOperationResponse>;
|
||||
addUserAgentHeader(request: WebResourceLike): void;
|
||||
}
|
||||
//# sourceMappingURL=userAgentPolicy.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue