docs/interfaces/management.SDK.Args.html
interface Args {
url: string;
method: string;
contentType?: string;
headers?: Record<string, unknown>;
queryParameters?: Record<string, unknown>;
queryString?: string;
body?: unknown;
timeoutMs?: number;
maxRetries?: number;
withCredentials?: boolean;
abortSignal?: AbortSignal;
requestType?: "bytes" | "json" | "file" | "form" | "other";
responseType?:
| "arrayBuffer"
| "blob"
| "json"
| "text"
| "binary-response"
| "sse"
| "streaming";
duplex?: "half";
endpointMetadata?: EndpointMetadata;
fetchFn?: {
(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
(input: string | Request | URL, init?: RequestInit): Promise<Response>;
};
logging?: LogConfig
| Logger;
}
urlmethodcontentType?headers?queryParameters?queryString?body?timeoutMs?maxRetries?withCredentials?abortSignal?requestType?responseType?duplex?endpointMetadata?fetchFn?logging?
url: string
method: string
OptionalcontentTypecontentType?: string
Optionalheadersheaders?: Record<string, unknown>
Optional DeprecatedqueryParametersqueryParameters?: Record<string, unknown>
Prefer queryString (produced by core.url.queryBuilder()). Retained for backwards compatibility with custom fetchers and callers that still construct request args with a query-parameter object.
OptionalqueryStringqueryString?: string
Optionalbodybody?: unknown
OptionaltimeoutMstimeoutMs?: number
OptionalmaxRetriesmaxRetries?: number
OptionalwithCredentialswithCredentials?: boolean
OptionalabortSignalabortSignal?: AbortSignal
OptionalrequestTyperequestType?: "bytes" | "json" | "file" | "form" | "other"
OptionalresponseTyperesponseType?:
| "arrayBuffer"
| "blob"
| "json"
| "text"
| "binary-response"
| "sse"
| "streaming"
Optionalduplexduplex?: "half"
OptionalendpointMetadataendpointMetadata?: EndpointMetadata
OptionalfetchFnfetchFn?: {
(input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
(input: string | Request | URL, init?: RequestInit): Promise<Response>;
}
- input: RequestInfo | URL
- `Optional`init: RequestInit
- input: string | Request | URL
- `Optional`init: RequestInit
OptionalloggingMember Visibility
ThemeOSLightDark
Properties urlmethodcontentTypeheadersqueryParametersqueryStringbodytimeoutMsmaxRetrieswithCredentialsabortSignalrequestTyperesponseTypeduplexendpointMetadatafetchFnlogging