Interface SpeakServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface SpeakServiceAsync.WithRawResponseA view of SpeakServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract SpeakServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponse>create(SpeakCreateParams params)Returns a raw HTTP response for post /voice/v1/speak, but is otherwise the same as SpeakServiceAsync.create.abstract CompletableFuture<HttpResponse>create(SpeakCreateParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract SpeakServiceAsync.WithRawResponse 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<HttpResponse> create(SpeakCreateParams params)
Returns a raw HTTP response for
post /voice/v1/speak, but is otherwise the same as SpeakServiceAsync.create.
-
create
abstract CompletableFuture<HttpResponse> create(SpeakCreateParams params, RequestOptions requestOptions)
-
-
-
-