UNPKG

@microsoft/msgraph-sdk-core

Version:
20 lines 1.52 kB
import { AuthenticationProvider, ParseNodeFactory, SerializationWriterFactory } from "@microsoft/kiota-abstractions"; import { HttpClient, type ObservabilityOptions } from "@microsoft/kiota-http-fetchlibrary"; import { DefaultRequestAdapter } from "@microsoft/kiota-bundle"; /** * Base request adapter for graph clients. Bootstraps telemetry and other aspects. */ export declare class BaseGraphRequestAdapter extends DefaultRequestAdapter { /** * Instantiates a new request adapter. * @param graphServiceTargetVersion the target version of the api endpoint we are targeting ("" or beta). * @param graphServiceLibraryClientVersion the version of the service library in use. Should be in the format `x.x.x` (Semantic version). * @param authenticationProvider the authentication provider to use. * @param parseNodeFactory the parse node factory to deserialize responses. * @param serializationWriterFactory the serialization writer factory to use to serialize request bodies. * @param httpClient the http client to use to execute requests. * @param observabilityOptions the observability options to use. */ constructor(graphServiceTargetVersion: string, graphServiceLibraryClientVersion: string, authenticationProvider: AuthenticationProvider, parseNodeFactory?: ParseNodeFactory, serializationWriterFactory?: SerializationWriterFactory, httpClient?: HttpClient, observabilityOptions?: ObservabilityOptions); } //# sourceMappingURL=BaseGraphRequestAdapter.d.ts.map