Uses of Class
com.azure.communication.chat.ChatClientBuilder
Package
Description
Package containing the classes for AzureCommunicationChatService.
-
Uses of ChatClientBuilder in com.azure.communication.chat
Modifier and TypeMethodDescriptionChatClientBuilder.addPolicy
(HttpPipelinePolicy customPolicy) Adds apipeline policy
to apply on each request sent.ChatClientBuilder.clientOptions
(ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.ChatClientBuilder.configuration
(Configuration configuration) Sets the configuration object used to retrieve environment configuration values during building of the client.ChatClientBuilder.credential
(CommunicationTokenCredential communicationTokenCredential) Set a token credential for authorizationSet endpoint of the serviceChatClientBuilder.httpClient
(HttpClient httpClient) Sets theHttpClient
to use for sending and receiving requests to and from the service.ChatClientBuilder.httpLogOptions
(HttpLogOptions logOptions) Sets thelogging configuration
to use when sending and receiving requests to and from the service.ChatClientBuilder.pipeline
(HttpPipeline httpPipeline) Sets theHttpPipeline
to use for the service client.ChatClientBuilder.retryOptions
(RetryOptions retryOptions) Sets theRetryOptions
for all the requests made through the client.ChatClientBuilder.retryPolicy
(RetryPolicy retryPolicy) Sets theHttpPipelinePolicy
that will attempt to retry requests when needed.ChatClientBuilder.serviceVersion
(ChatServiceVersion version) Sets theChatServiceVersion
that is used when making API requests.