Class SessionServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.chatkit.SessionServiceAsync.WithRawResponse
public final class SessionServiceAsyncImpl.WithRawResponseImpl implements SessionServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description SessionServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<ChatSession>>create(SessionCreateParams params, RequestOptions requestOptions)CompletableFuture<HttpResponseFor<ChatSession>>cancel(SessionCancelParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
SessionServiceAsync.WithRawResponse 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<HttpResponseFor<ChatSession>> create(SessionCreateParams params, RequestOptions requestOptions)
-
cancel
CompletableFuture<HttpResponseFor<ChatSession>> cancel(SessionCancelParams params, RequestOptions requestOptions)
-
-
-
-