trycourier / courier-java

Java SDK for communicating with the Courier REST API.
MIT License
7 stars 5 forks source link

Enable send event routing #17

Closed raniero-sequence closed 2 years ago

raniero-sequence commented 2 years ago

Description of the change

This PR updates the SendInterface and its implementation in order to make calls to the /send/:event/routing endpoint. It adds request and response model classes in order to make requests via the SDK. I've added an example to the CourierClientApp class.

Type of change

Related issues

Fix [#1]()

Checklists

Development

Code review

tk26 commented 2 years ago

@raniero-sequence we will be supporting this feature via https://github.com/trycourier/courier-java/pull/18/files (pretty much the same as this PR with a couple of additional changes) Thanks again for the contribution :)