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