The Basics

Jusst like using async-http-client, the basics include the following:

  • Creating clients

  • Creating requests

  • Processing responses

More advanced usage includes composing these parts together to create your program. The dispatch documentation uses a "compose futures" lens in its documentation which is useful to review.

If at any time you are wondering what dispatch is doing, you should look at the source as well as the API documentation. You can also read up on async-http-client because dispatch is a thin layer over that library.

Last updated