Package com.courier.services.async
Class SendServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.SendServiceAsync
public final class SendServiceAsyncImpl implements SendServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description SendServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. SendServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<SendMessageResponse>message(SendMessageParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
SendServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
SendServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
message
CompletableFuture<SendMessageResponse> message(SendMessageParams params, RequestOptions requestOptions)
-
-
-
-