Package com.courier.services.async
Interface SendServiceAsync
-
- All Implemented Interfaces:
public interface SendServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSendServiceAsync.WithRawResponseA view of SendServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract SendServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract SendServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<SendMessageResponse>message(SendMessageParams params)API to send a message to one or more recipients. abstract CompletableFuture<SendMessageResponse>message(SendMessageParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract SendServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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)
API to send a message to one or more recipients.
-
message
abstract CompletableFuture<SendMessageResponse> message(SendMessageParams params, RequestOptions requestOptions)
-
-
-
-