Skip to content

Handler

The handler is a block that defines some code that will run on a particular route in your worker. When editing an handler you can set:

  • the handler type choose between a selection of available handlers
  • the handler method when you choose a custom handler
  • the handler path as the endpoint that will trigger this handler.

Codedraw has a light validation logic so you are responsible for reviewing handlers path are uniques and valid.