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