Client Class

Beta  

Base class for all Client implementations

Extended by

Methods

Name Description
constructor(): Client Protected Creates an instance of Client.  
applyUserConfiguredHttpRequestOptions(requestOptions: RequestOptions, userDefinedRequestOptions?: HttpRequestOptions): void Protected Configures request options based on user defined values in HttpRequestOptions  
delete(requestContext: AuthorizedClientRequestContext, relativeUrlPath: string, httpRequestOptions?: HttpRequestOptions): Promise<void> Protected used by clients to send delete requests  
getUrl(requestContext: ClientRequestContext): Promise<string> Gets the URL of the service.  
getUrlSearchKey(): string ProtectedAbstract Implemented by clients to specify the name/key to query the service URLs from  
setupOptionDefaults(options: RequestOptions): Promise<void> Protected Augments request options with defaults returned by the DefaultRequestOptionsProvider.  

Properties

Name Type Description
_url Protected undefined | string    
baseUrl Protected undefined | string Sets the default base URL to use with this client.  

Defined in

Last Updated: 11 June, 2024