Interface SessionServiceAsync
- 
                    
                    
- All Implemented Interfaces:
 
public interface SessionServiceAsync 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSessionServiceAsync.WithRawResponseA view of SessionServiceAsync that provides access to raw HTTP responses for each method.
 
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
withRawResponse
abstract SessionServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
 
- 
                                        
withOptions
abstract SessionServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
 
- 
                                        
create
CompletableFuture<ChatSession> create(SessionCreateParams params)
Create a ChatKit session
 
- 
                                        
create
abstract CompletableFuture<ChatSession> create(SessionCreateParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
CompletableFuture<ChatSession> cancel(String sessionId)
Cancel a ChatKit session
 
- 
                                        
cancel
CompletableFuture<ChatSession> cancel(String sessionId, SessionCancelParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
CompletableFuture<ChatSession> cancel(String sessionId, SessionCancelParams params)
 
- 
                                        
cancel
abstract CompletableFuture<ChatSession> cancel(SessionCancelParams params, RequestOptions requestOptions)
 
- 
                                        
cancel
CompletableFuture<ChatSession> cancel(SessionCancelParams params)
 
- 
                                        
cancel
CompletableFuture<ChatSession> cancel(String sessionId, RequestOptions requestOptions)
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -