Interface EventServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface EventServiceAsync.WithRawResponseA view of EventServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract EventServiceAsync.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
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(String sessionId)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/events?beta=true, but is otherwise the same as EventServiceAsync.list.
-
list
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(String sessionId, EventListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(String sessionId, EventListParams params)
-
list
abstract CompletableFuture<HttpResponseFor<EventListPageAsync>> list(EventListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(EventListParams params)
-
list
CompletableFuture<HttpResponseFor<EventListPageAsync>> list(String sessionId, RequestOptions requestOptions)
-
send
CompletableFuture<HttpResponseFor<BetaManagedAgentsSendSessionEvents>> send(String sessionId, EventSendParams params)
Returns a raw HTTP response for
post /v1/sessions/{session_id}/events?beta=true, but is otherwise the same as EventServiceAsync.send.
-
send
CompletableFuture<HttpResponseFor<BetaManagedAgentsSendSessionEvents>> send(String sessionId, EventSendParams params, RequestOptions requestOptions)
-
send
CompletableFuture<HttpResponseFor<BetaManagedAgentsSendSessionEvents>> send(EventSendParams params)
-
send
abstract CompletableFuture<HttpResponseFor<BetaManagedAgentsSendSessionEvents>> send(EventSendParams params, RequestOptions requestOptions)
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionEvents>>> streamStreaming(String sessionId)
Returns a raw HTTP response for
get /v1/sessions/{session_id}/events/stream?beta=true, but is otherwise the same as EventServiceAsync.streamStreaming.
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionEvents>>> streamStreaming(String sessionId, EventStreamParams params, RequestOptions requestOptions)
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionEvents>>> streamStreaming(String sessionId, EventStreamParams params)
-
streamStreaming
@MustBeClosed() abstract CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionEvents>>> streamStreaming(EventStreamParams params, RequestOptions requestOptions)
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionEvents>>> streamStreaming(EventStreamParams params)
-
streamStreaming
@MustBeClosed() CompletableFuture<HttpResponseFor<StreamResponse<BetaManagedAgentsStreamSessionEvents>>> streamStreaming(String sessionId, RequestOptions requestOptions)
-
-
-
-