What is the best way to go about creating a plugin for webhooks?

Hi guys, I need a plugin to add webhook functionality to orthanc, I considered writing it in lua for speed and simplicity but I don’t see any documentation on including additional libraries (which I would need to initiate the webhook requests)

There is an example Lua script on GitHiub: orthanc-setup-samples/lua-samples/notify-external-webservice.lua at master · orthanc-server/orthanc-setup-samples · GitHub