Interface EventService.WithRawResponse
-
- All Implemented Interfaces:
public interface EventService.WithRawResponseA view of EventService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract EventService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
@MustBeClosed() HttpResponseFor<EventListPage> list(String threadId, EventListParams params)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/threads/{thread_id}/events?beta=true, but is otherwise the same as EventService.list.
-
list
@MustBeClosed() HttpResponseFor<EventListPage> list(String threadId, EventListParams params, RequestOptions requestOptions)
-
list
@MustBeClosed() HttpResponseFor<EventListPage> list(EventListParams params)
-
list
@MustBeClosed() abstract HttpResponseFor<EventListPage> list(EventListParams params, RequestOptions requestOptions)
-
streamStreaming
@MustBeClosed() HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>> streamStreaming(String threadId, EventStreamParams params)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/threads/{thread_id}/stream?beta=true, but is otherwise the same as EventService.streamStreaming.
-
streamStreaming
@MustBeClosed() HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>> streamStreaming(String threadId, EventStreamParams params, RequestOptions requestOptions)
-
streamStreaming
@MustBeClosed() HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>> streamStreaming(EventStreamParams params)
-
streamStreaming
@MustBeClosed() abstract HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionThreadEvents>> streamStreaming(EventStreamParams params, RequestOptions requestOptions)
-
-
-
-