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