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