Package com.courier.services.blocking
Interface SendService
-
- All Implemented Interfaces:
public interface SendService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceSendService.WithRawResponseA view of SendService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract SendService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract SendServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. SendMessageResponsemessage(SendMessageParams params)API to send a message to one or more recipients. abstract SendMessageResponsemessage(SendMessageParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract SendService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract SendService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
message
SendMessageResponse message(SendMessageParams params)
API to send a message to one or more recipients.
-
message
abstract SendMessageResponse message(SendMessageParams params, RequestOptions requestOptions)
-
-
-
-