Package com.safetykit.services.async
Interface StreamServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface StreamServiceAsync.WithRawResponseA view of StreamServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract StreamServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
add
CompletableFuture<HttpResponseFor<StreamAddResponse>> add(String namespace, StreamAddParams params)
Returns a raw HTTP response for
post /v1/streams/{namespace}, but is otherwise the same as StreamServiceAsync.add.
-
add
CompletableFuture<HttpResponseFor<StreamAddResponse>> add(String namespace, StreamAddParams params, RequestOptions requestOptions)
-
add
CompletableFuture<HttpResponseFor<StreamAddResponse>> add(StreamAddParams params)
-
add
abstract CompletableFuture<HttpResponseFor<StreamAddResponse>> add(StreamAddParams params, RequestOptions requestOptions)
-
addFrame
CompletableFuture<HttpResponseFor<StreamAddFrameResponse>> addFrame(String namespace, StreamAddFrameParams params)
Returns a raw HTTP response for
post /v1/streams/{namespace}/frames, but is otherwise the same as StreamServiceAsync.addFrame.
-
addFrame
CompletableFuture<HttpResponseFor<StreamAddFrameResponse>> addFrame(String namespace, StreamAddFrameParams params, RequestOptions requestOptions)
-
addFrame
CompletableFuture<HttpResponseFor<StreamAddFrameResponse>> addFrame(StreamAddFrameParams params)
-
addFrame
abstract CompletableFuture<HttpResponseFor<StreamAddFrameResponse>> addFrame(StreamAddFrameParams params, RequestOptions requestOptions)
-
addTranscript
CompletableFuture<HttpResponseFor<StreamAddTranscriptResponse>> addTranscript(String namespace, StreamAddTranscriptParams params)
Returns a raw HTTP response for
post /v1/streams/{namespace}/transcripts, but is otherwise the same as StreamServiceAsync.addTranscript.
-
addTranscript
CompletableFuture<HttpResponseFor<StreamAddTranscriptResponse>> addTranscript(String namespace, StreamAddTranscriptParams params, RequestOptions requestOptions)
-
addTranscript
CompletableFuture<HttpResponseFor<StreamAddTranscriptResponse>> addTranscript(StreamAddTranscriptParams params)
-
addTranscript
abstract CompletableFuture<HttpResponseFor<StreamAddTranscriptResponse>> addTranscript(StreamAddTranscriptParams params, RequestOptions requestOptions)
-
-
-
-